mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-16 00:03:45 +00:00
1. Fixed crash that could happen when you close a FD in fs.closeSync()
2. Added 'cancel' method/event to zip-writer.js 3. Fixed bug in Windows Zip-Writer when parsing basePath 4. Added ability to manually specify basePath in Zip-Writer
This commit is contained in:
@@ -747,7 +747,7 @@ BOOL ILibDuktape_fs_read_WindowsSink(void *chain, HANDLE h, ILibWaitHandle_Error
|
||||
duk_push_heapptr(data->ctx, data->userBuffer); // [callback][this][err][bytesRead][buffer]
|
||||
data->callback = NULL;
|
||||
data->userBuffer = NULL;
|
||||
if (duk_pcall_method(data->ctx, 3) != 0) { ILibDuktape_Process_UncaughtExceptionEx(data->ctx, "fs.read.onCallack(): "); }
|
||||
if (duk_pcall_method(data->ctx, 3) != 0) { ILibDuktape_Process_UncaughtExceptionEx(ctx, "fs.read.onCallack(): "); }
|
||||
duk_pop(ctx); // ...
|
||||
}
|
||||
return(FALSE);
|
||||
|
||||
Reference in New Issue
Block a user