summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ZHandle.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ZHandle.cc b/src/ZHandle.cc
index 05a6405..90394c1 100644
--- a/src/ZHandle.cc
+++ b/src/ZHandle.cc
@@ -103,9 +103,12 @@ bool Balau::ZStream::isPendingComplete() {
switch (m_phase) {
case READING:
case WRITING:
+ case WRITING_FINISH:
return m_h->isPendingComplete();
case COMPRESSING:
case DECOMPRESSING:
+ case COMPRESSING_FINISH:
+ case DECOMPRESSING_FINISH:
IAssert(async, "Shouldn't not have a cbResults here...");
return async->gotSignal();
default: