Fix a crash in exception management.
[INTERPRETER] * BUG: Fix a crash in exception management.
This commit is contained in:
parent
6ffa483e4f
commit
ecf3410e99
@ -133,7 +133,7 @@ BEGIN_PROPERTY(Timer_Enabled)
|
||||
END_PROPERTY
|
||||
|
||||
|
||||
BEGIN_PROPERTY(CTIMER_delay)
|
||||
BEGIN_PROPERTY(Timer_Delay)
|
||||
|
||||
if (READ_PROPERTY)
|
||||
GB_ReturnInteger(THIS->delay);
|
||||
@ -184,7 +184,7 @@ GB_DESC NATIVE_Timer[] =
|
||||
GB_METHOD("_free", NULL, Timer_free, NULL),
|
||||
|
||||
GB_PROPERTY("Enabled", "b", Timer_Enabled),
|
||||
GB_PROPERTY("Delay", "i", CTIMER_delay),
|
||||
GB_PROPERTY("Delay", "i", Timer_Delay),
|
||||
//GB_PROPERTY_READ("Timeout", "f", Timer_Timeout),
|
||||
|
||||
GB_METHOD("Start", NULL, Timer_Start, NULL),
|
||||
|
@ -1021,7 +1021,7 @@ void EXEC_function_loop()
|
||||
EXEC_leave_drop();
|
||||
ERROR_unlock();
|
||||
|
||||
if (FP->fast)
|
||||
if (FP && FP->fast)
|
||||
PROPAGATE();
|
||||
|
||||
// If we got the void stack frame, then we remove it and raise the error again
|
||||
|
Loading…
x
Reference in New Issue
Block a user