mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-08 14:41:57 +08:00
fixed bugs in handling streams.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user