fixed bugs in handling streams.

This commit is contained in:
crs
2001-10-21 00:21:02 +00:00
parent 3cfbc0f68c
commit 8d1cf844c7
6 changed files with 74 additions and 14 deletions

View File

@@ -87,6 +87,9 @@ void CBufferedInputStream::close()
}
m_closed = true;
m_hungup = true;
m_buffer.pop(m_buffer.getSize());
m_empty.broadcast();
if (m_closeCB) {
m_closeCB->run();
}