diff options
Diffstat (limited to 'src/DecoderInternal.cxx')
-rw-r--r-- | src/DecoderInternal.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/DecoderInternal.cxx b/src/DecoderInternal.cxx index 7cca5dbe3..e18fd2b6a 100644 --- a/src/DecoderInternal.cxx +++ b/src/DecoderInternal.cxx @@ -102,6 +102,7 @@ decoder_flush_chunk(Decoder &decoder) decoder.chunk = nullptr; dc.Lock(); - dc.client_cond.signal(); + if (dc.client_is_waiting) + dc.client_cond.signal(); dc.Unlock(); } |