Abort JIT compilation before executing the QUIT instruction.

[INTERPRETER]
* BUG: Abort JIT compilation before executing the QUIT instruction.
This commit is contained in:
gambas 2021-04-30 00:34:50 +02:00
parent 28ce6efc4c
commit b3cbe0e4a0

View file

@ -1942,6 +1942,7 @@ void EXEC_do_quit(void)
{
GAMBAS_DoNotRaiseEvent = TRUE;
JIT_abort();
HOOK(quit)();
THROW(E_ABORT);