Make sure threads are rejoined.

This commit is contained in:
rakshasa
2025-05-26 14:42:44 +02:00
committed by Jari Sundell
parent 9ff373fe58
commit 46e94259e8
+1 -1
View File
@@ -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();