From fc41ff0b23b2b2db5e54b4e46daa05b1cab6e2d1 Mon Sep 17 00:00:00 2001 From: gambas Date: Fri, 21 Dec 2018 03:05:32 +0100 Subject: [PATCH] Assertion errors are now really not catchable anymore. [INTERPRETER] * BUG: Assertion errors are now really not catchable anymore. --- main/gbx/gbx_exec.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main/gbx/gbx_exec.c b/main/gbx/gbx_exec.c index 3c3d0af7f..c5b6990ea 100644 --- a/main/gbx/gbx_exec.c +++ b/main/gbx/gbx_exec.c @@ -934,7 +934,11 @@ void EXEC_function_loop() DEBUG.Main(TRUE); if (ERROR->info.code == E_ASSERT) + { + EP = NULL; + EC = NULL; goto __IGNORE_TRY_CATCH; + } // Are we in a TRY? if (EP && EC)