From b7c281e1d7c26d4414706d529862407d07e385c2 Mon Sep 17 00:00:00 2001 From: Pixel Date: Tue, 3 Apr 2012 16:05:07 -0700 Subject: Having a slightly better mechanism for stopping the LuaMainTask, as well as some debugging messages. --- includes/LuaTask.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'includes/LuaTask.h') diff --git a/includes/LuaTask.h b/includes/LuaTask.h index 5058578..0d763de 100644 --- a/includes/LuaTask.h +++ b/includes/LuaTask.h @@ -11,7 +11,7 @@ class LuaMainTask; class LuaExecCell { public: - LuaExecCell() : m_detached(false) { } + LuaExecCell(); void detach() { m_detached = true; } void exec(LuaMainTask * mainTask); protected: @@ -61,7 +61,6 @@ class LuaMainTask : public Task { virtual void Do(); Lua L; TQueue m_queue; - volatile bool m_stopping; friend class LuaExecCell; }; -- cgit v1.2.3