Commit 7d38878e authored by gambas's avatar gambas
Browse files

Fix GB_Wait() calls as the meaning of its argument changed.

[INTERPRETER]
* BUG: Fix GB_Wait() calls as the meaning of its argument changed.
parent 9f85e2b5
Pipeline #515507657 passed with stage
in 22 minutes and 6 seconds
......@@ -652,7 +652,7 @@ BEGIN_METHOD(Task_Wait, GB_FLOAT timeout)
ON_ERROR_1(error_Task_Wait, THIS)
{
GB_Wait(0);
GB_Wait(-1);
while (!THIS->stopped)
{
......
......@@ -74,7 +74,7 @@ void JIT_abort(void)
find_method(&func, "_Abort", NULL, NULL);
GB_Call(&func, 0, FALSE);
GB_Wait(0);
GB_Wait(-1);
}
void JIT_exit(void)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment