diff options
-rw-r--r-- | src/server/Engine.cpp | 2 | ||||
-rw-r--r-- | src/server/PostProcessor.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/Engine.cpp b/src/server/Engine.cpp index e70d5522..6b0c909c 100644 --- a/src/server/Engine.cpp +++ b/src/server/Engine.cpp @@ -460,7 +460,7 @@ Engine::run(uint32_t sample_count) bool Engine::pending_events() { - return !_pre_processor->empty(); + return !_pre_processor->empty() || _post_processor->pending(); } void diff --git a/src/server/PostProcessor.cpp b/src/server/PostProcessor.cpp index 6c709518..90dd0309 100644 --- a/src/server/PostProcessor.cpp +++ b/src/server/PostProcessor.cpp @@ -70,7 +70,7 @@ PostProcessor::append(RunContext& context, Event* first, Event* last) bool PostProcessor::pending() const { - return _head.load() || _engine.pending_notifications(); + return _head.load()->next() || _engine.pending_notifications(); } void |