From 0e2433d788499f8489208492016fd2da3867d70b Mon Sep 17 00:00:00 2001 From: Nicolas 'Pixel' Noble Date: Mon, 21 Jan 2013 20:27:20 -0800 Subject: Forgot these new cases in the ZStream::isPendingComplete() method. --- src/ZHandle.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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: -- cgit v1.2.3