1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-18 08:23:59 +00:00

1. Fixed compiler warning

2. Fixed GC issue with monitor-info.js
3. Added screenId to windows getInfo()
This commit is contained in:
Bryan Roe
2021-05-07 16:29:22 -07:00
parent 9758f775bf
commit 33655fb323
5 changed files with 47 additions and 38 deletions

View File

@@ -1384,8 +1384,6 @@ duk_ret_t ILibDuktape_EventEmitter_getProperty(duk_context *ctx)
}
duk_ret_t ILibDuktape_EventEmitter_setProperty(duk_context *ctx)
{
char *s = (char*)duk_get_string(ctx, 0);
char *s2 = (char*)duk_get_string(ctx, 1);
duk_push_this(ctx); // [obj]
char *tmp = (char*)duk_push_sprintf(ctx, "%s", duk_get_string(ctx, 0));// [obj][string]
duk_dup(ctx, 1); // [obj][string][val]