diff options
author | Pixel <pixel@nobis-crew.org> | 2012-04-06 11:40:55 -0700 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2012-04-06 11:40:55 -0700 |
commit | f2cfa1707c713c7bb01d16f4c2c4d96803ea6793 (patch) | |
tree | a722f3ad52ec471520097c5bfbbf2ab8cb4e2603 /src/LuaTask.cc | |
parent | 7fbb819bf6f590bf2337d2277f77487ef7a5ce86 (diff) |
Making it simplier to register a task and wait for it. Also renamed createTask to registerTask, which makes way more sense.
Diffstat (limited to 'src/LuaTask.cc')
-rw-r--r-- | src/LuaTask.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } } |