summaryrefslogtreecommitdiffstats
path: root/src/server/PostProcessor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/PostProcessor.cpp')
-rw-r--r--src/server/PostProcessor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/PostProcessor.cpp b/src/server/PostProcessor.cpp
index 316c6f0f..3a8ee612 100644
--- a/src/server/PostProcessor.cpp
+++ b/src/server/PostProcessor.cpp
@@ -20,10 +20,11 @@
#include "Driver.hpp"
#include "Engine.hpp"
+#include "Event.hpp"
#include "Notification.hpp"
#include "PostProcessor.hpp"
#include "ProcessContext.hpp"
-#include "Event.hpp"
+#include "ThreadManager.hpp"
using namespace std;
using namespace Raul;
@@ -44,6 +45,7 @@ PostProcessor::~PostProcessor()
void
PostProcessor::append(Event* first, Event* last)
{
+ ThreadManager::assert_thread(THREAD_PROCESS);
assert(first);
assert(last);
assert(!last->next());