mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-15 15:53:55 +00:00
Fixed bug in ScriptContainer on Windows, where a dispatch failed
This commit is contained in:
@@ -2760,7 +2760,7 @@ void ILibDuktape_ScriptContainer_Slave_OnReadStdIn(ILibProcessPipe_Pipe sender,
|
||||
((void**)ILibMemory_Extra(sender))[1] = buffer;
|
||||
|
||||
ILibProcessPipe_Pipe_Pause(sender);
|
||||
Duktape_RunOnEventLoop(slave->chain, duk_ctx_nonce(slave->ctx), slave->ctx, ILibDuktape_ScriptContainer_Slave_OnReadStdInEx, NULL, sender);
|
||||
ILibChain_RunOnMicrostackThread(slave->chain, ILibDuktape_ScriptContainer_Slave_OnReadStdInEx, sender);
|
||||
#else
|
||||
ILibDuktape_ScriptContainer_Slave_ProcessCommands(slave, buffer, sender);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user