From 1f40bc1a0fed2e1dd9b6d8c11ce8977b34ca0b3f Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sun, 22 Jun 2025 18:53:20 -0400 Subject: [PATCH] core: Fix the one place where we called a JS function and didn't check for jobs to run as a result. Fixes getting stuck in the intro as a non-admin. --- src/task.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/task.c b/src/task.c index 86d8eba0..64bb539b 100644 --- a/src/task.c +++ b/src/task.c @@ -550,6 +550,7 @@ static JSValue _task_invokeExport_internal(tf_taskstub_t* from, tf_task_t* to, e } result = JS_Call(to->_context, function, this_val, length - 1, argument_array); + tf_task_check_jobs(to); tf_trace_end(to->_trace); JS_FreeValue(to->_context, this_val);