diff options
Diffstat (limited to 'lib/output_handlers.cpp')
-rw-r--r-- | lib/output_handlers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output_handlers.cpp b/lib/output_handlers.cpp index 17244ee..e0c3a52 100644 --- a/lib/output_handlers.cpp +++ b/lib/output_handlers.cpp @@ -14,7 +14,7 @@ void BlockActor::handle_output_buffer(const OutputBufferMessage &message, const //a buffer has returned from the downstream //(all interested consumers have finished with it) - if (this->block_state == BLOCK_STATE_DONE) return; + if GRAS_UNLIKELY(this->block_state == BLOCK_STATE_DONE) return; this->output_queues.push(index, message.buffer); ta.done(); |