IMO you should just call SetJITCompiler(NULL);
/f
I don´t know if that´s a good idea - it should work only if Angelscript checks the jitCompiler pointer for NULLness and act accordingly.
IMO you should just call SetJITCompiler(NULL);
/f
Alternatively you could store the jitcompiler as the script engine's user data, and register a cleanup function with the engine to delete the jitcompiler when the engine is deleted.