1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-06 00:13:33 +00:00

1. Fixed uncaught exception in websocket that could happen if peer disconnects

2. Updated debugger to work with updated promise
3. Fixed bug in event emitter where 'explicit' event type wasn't honored
4. Updated _GenericMarshal to support interface and function marshaling
5. Added COM/WMI support to windows
This commit is contained in:
Bryan Roe
2021-10-29 09:39:25 -07:00
parent fa82a9ed76
commit ab066751fb
7 changed files with 1054 additions and 2 deletions

View File

@@ -502,7 +502,7 @@ void* ILibDuktape_Debugger_StartEngine(duk_context *ctx, int transport, int webp
duk_ret_t ILibDuktape_Debugger_JSAttach_promise_wait(duk_context *ctx)
{
char *eventName = (char*)duk_require_string(ctx, 0);
if (strcmp(eventName, "resolved") != 0) { return(0); }
if (strcmp(eventName, "settled") != 0) { return(0); }
duk_push_heap_stash(ctx);
duk_get_prop_string(ctx, -1, ILibDuktape_Debugger_DebugObject);