diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server/PreProcessor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/PreProcessor.cpp b/src/server/PreProcessor.cpp index a88b74e5..4f51ad00 100644 --- a/src/server/PreProcessor.cpp +++ b/src/server/PreProcessor.cpp @@ -40,6 +40,8 @@ PreProcessor::~PreProcessor() void PreProcessor::event(Event* const ev) { + ThreadManager::assert_not_thread(THREAD_PROCESS); + // TODO: Probably possible to make this lock-free with CAS Glib::Mutex::Lock lock(_mutex); |