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
That can be expected. JIT converts the AMX code to native code, while task_detach expects the stack and frame pointers to point to memory using standard AMX layout. I may be able to turn the crash into an error, but support has to be provided by the JIT, as bad as it sounds.
Using the
task_detach
function and later using any asynchronous function crashes the server if the script is JIT compiled.Running this script in Windows and with jit_sleep enabled, the server crashes after "detached" gets printed on the console.
With no JIT, it gives the expected output:
The text was updated successfully, but these errors were encountered: