diff --git a/Core/ThreadEventQueue.h b/Core/ThreadEventQueue.h index 89ee09cb95..b7c2f6ad2f 100644 --- a/Core/ThreadEventQueue.h +++ b/Core/ThreadEventQueue.h @@ -24,6 +24,9 @@ template struct ThreadEventQueue : public B { + ThreadEventQueue() : threadEnabled_(false), eventsRunning_(false) { + } + void SetThreadEnabled(bool threadEnabled) { threadEnabled_ = threadEnabled; }