From 505cd02a5f4f8cda16fe9347e4d467058c407b9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Fri, 31 Aug 2012 19:56:41 +0000 Subject: [PATCH] [INTERPRETER] * BUG: Disable the component specific event loop when starting a task. No way that any GUI works in a background task now, but I can't disable it automatically. git-svn-id: svn://localhost/gambas/trunk@5107 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- main/gbx/gbx_c_task.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/main/gbx/gbx_c_task.c b/main/gbx/gbx_c_task.c index 95a159a6f..b2bbafbc7 100644 --- a/main/gbx/gbx_c_task.c +++ b/main/gbx/gbx_c_task.c @@ -74,6 +74,13 @@ static void has_forked(void) EXEC_debug = FALSE; EXEC_task = TRUE; + EXEC_Hook.loop = NULL; + EXEC_Hook.wait = NULL; + EXEC_Hook.timer = NULL; + EXEC_Hook.watch = NULL; + EXEC_Hook.post = NULL; + //EXEC_Hook.quit = NULL; + task = _task_list; while (task) {