From 184e5927bae42745232d59b6ba15b0052d2ec3a5 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 5 Feb 2012 13:15:10 +1000 Subject: Get them in the right order. lol --- LuaSL/src/LuaSL_runner.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'LuaSL/src/LuaSL_runner.c') diff --git a/LuaSL/src/LuaSL_runner.c b/LuaSL/src/LuaSL_runner.c index 411c437..8aa115c 100644 --- a/LuaSL/src/LuaSL_runner.c +++ b/LuaSL/src/LuaSL_runner.c @@ -132,12 +132,6 @@ void runnerSetup(gameGlobals *game) PE("Error creating luaproc worker thread."); } -void runnerTearDown(gameGlobals *game) -{ -// TODO - this is what hangs the system. - sched_join_workerthreads(); -} - void runLuaFile(gameGlobals *game, const char *filename) { newProc(filename, TRUE); @@ -158,3 +152,9 @@ void runLuaFile(gameGlobals *game, const char *filename) _edje_lua2_error(L, err); */ } + +void runnerTearDown(gameGlobals *game) +{ +// TODO - this is what hangs the system. + sched_join_workerthreads(); +} -- cgit v1.1