From f2cfa1707c713c7bb01d16f4c2c4d96803ea6793 Mon Sep 17 00:00:00 2001 From: Pixel Date: Fri, 6 Apr 2012 11:40:55 -0700 Subject: Making it simplier to register a task and wait for it. Also renamed createTask to registerTask, which makes way more sense. --- src/LuaTask.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/LuaTask.cc') diff --git a/src/LuaTask.cc b/src/LuaTask.cc index 2641682..687c81a 100644 --- a/src/LuaTask.cc +++ b/src/LuaTask.cc @@ -51,7 +51,7 @@ void Balau::LuaMainTask::Do() { delete cell; return; } - TaskMan::createTask(new LuaTask(L.thread(), cell), this); + TaskMan::registerTask(new LuaTask(L.thread(), cell), this); } } } -- cgit v1.2.3