fix dmon leak; fix underlings not stopping when overling crashes
This commit is contained in:
@@ -111,6 +111,7 @@ JSValue js_dmon_poll(JSContext *js, JSValueConst this_val, int argc, JSValueCons
|
||||
JS_SetPropertyStr(js, jsevent, "file", JS_NewString(js, event.filepath));
|
||||
JS_SetPropertyStr(js, jsevent, "old", JS_NewString(js, event.oldfilepath));
|
||||
JS_Call(js, argv[0], JS_NULL, 1, &jsevent);
|
||||
JS_FreeValue(js, jsevent);
|
||||
}
|
||||
return JS_NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user