summaryrefslogtreecommitdiffstats
path: root/src/server/EventQueue.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/EventQueue.cpp')
-rw-r--r--src/server/EventQueue.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/EventQueue.cpp b/src/server/EventQueue.cpp
index 8cb979ca..272273cd 100644
--- a/src/server/EventQueue.cpp
+++ b/src/server/EventQueue.cpp
@@ -29,11 +29,12 @@ EventQueue::EventQueue()
{
Thread::set_context(THREAD_PRE_PROCESS);
set_name("EventQueue");
+ start();
}
EventQueue::~EventQueue()
{
- Thread::stop();
+ stop();
}
/** Push an unprepared event onto the queue.