followups to windows fixes
This commit is contained in:
parent
a25c25b02a
commit
83f405ac54
|
@ -141,6 +141,7 @@ struct bandwidth_manager
|
||||||
m_abort = true;
|
m_abort = true;
|
||||||
m_queue.clear();
|
m_queue.clear();
|
||||||
m_history.clear();
|
m_history.clear();
|
||||||
|
m_current_quota = 0;
|
||||||
m_history_timer.cancel();
|
m_history_timer.cancel();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -630,8 +630,6 @@ namespace detail
|
||||||
if (m_dht) m_dht->stop();
|
if (m_dht) m_dht->stop();
|
||||||
m_dht_socket.close();
|
m_dht_socket.close();
|
||||||
#endif
|
#endif
|
||||||
m_download_channel.close();
|
|
||||||
m_upload_channel.close();
|
|
||||||
m_timer.cancel();
|
m_timer.cancel();
|
||||||
|
|
||||||
// close the listen sockets
|
// close the listen sockets
|
||||||
|
|
Loading…
Reference in New Issue