mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-05 17:52:29 +00:00
Make sure threads are rejoined.
This commit is contained in:
+1
-1
@@ -140,7 +140,7 @@ Control::handle_shutdown() {
|
||||
|
||||
if (!m_shutdownQuick) {
|
||||
if (worker_thread->is_active())
|
||||
worker_thread->stop_thread();
|
||||
worker_thread->stop_thread_wait();
|
||||
|
||||
torrent::connection_manager()->listen_close();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user