fixed race condition in bandwidth manager
This commit is contained in:
parent
cf2654ba00
commit
c6f4879e06
|
@ -150,6 +150,7 @@ struct bandwidth_manager
|
|||
|
||||
void close()
|
||||
{
|
||||
mutex_t::scoped_lock l(m_mutex);
|
||||
m_abort = true;
|
||||
m_queue.clear();
|
||||
m_queued_bytes = 0;
|
||||
|
|
Loading…
Reference in New Issue