Don't try to abort JIT compilation if the JIT component is not loaded.

[INTERPRETER]
* BUG: Don't try to abort JIT compilation if the JIT component is not loaded.
This commit is contained in:
gambas 2019-03-11 17:53:18 +01:00
parent 3f7095bbd9
commit eb8c871740

View file

@ -61,6 +61,9 @@ void JIT_abort(void)
{
static GB_FUNCTION _func;
if (!_component_loaded)
return;
if (GB_GetFunction(&_func, CLASS_find_global("Jit"), "_Abort", NULL, NULL))
ERROR_panic("Unable to find JIT._Abort() method");