1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-05 18:13:38 +00:00

Fixed crash caused by ChainViewer

This commit is contained in:
Bryan Roe
2020-05-19 15:53:59 -07:00
parent 56cc4c1328
commit f6c254bd4c
2 changed files with 3 additions and 2 deletions

View File

@@ -2275,6 +2275,7 @@ void ILibDuktape_ChainViewer_PostSelect(void* object, int slct, fd_set *readset,
duk_swap_top(ctx, -2); // [this][list][RES][this]
duk_push_string(ctx, m); // [this][list][RES][this][str]
duk_pcall_method(ctx, 1); duk_pop(ctx); // [this][list]
ILibMemory_Free(m);
}
duk_set_top(ctx, top);