Commit 26c70690 authored by Roland Haas's avatar Roland Haas
Browse files

async_writer: assert() that threads are done in destructor

parent a8f0a5ce
......@@ -40,6 +40,7 @@ async_writer::~async_writer()
{
if(thread_active)
finalize();
assert(!thread_active);
}
void async_writer::write(const void* buf, size_t count)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment