You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.
When JXcore is embedded, the caller typically calls JX_StartEngine() followed by JX_LoopOnce() or JX_Loop(). JX_StartEngine invokes engine->loopOnce() causing the subsequent call to JX_LoopOnce to hang if process.exit() has been processed in the first loop.
A possible fix is to remove engine->loopOnce() in JX_StartEngine or add a new API in order to avoid breaking changes.
The ideal fix would be to have JX_Loop() return and not hang when the libuv loop has already been terminated.
The text was updated successfully, but these errors were encountered:
When JXcore is embedded, the caller typically calls
JX_StartEngine()
followed byJX_LoopOnce()
orJX_Loop()
.JX_StartEngine
invokesengine->loopOnce()
causing the subsequent call toJX_LoopOnce
to hang ifprocess.exit()
has been processed in the first loop.A possible fix is to remove
engine->loopOnce()
inJX_StartEngine
or add a new API in order to avoid breaking changes.The ideal fix would be to have
JX_Loop()
return and not hang when the libuv loop has already been terminated.The text was updated successfully, but these errors were encountered: