mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-15 14:42:30 +00:00
Fixed dereferencing of potentially nullptr in SessionManager.
This commit is contained in:
@@ -90,6 +90,7 @@ Control::cleanup() {
|
||||
scgi_thread::thread()->stop_thread_wait();
|
||||
|
||||
// Wait for all session files to be written.
|
||||
session_thread::manager()->flush_all_pending_builds();
|
||||
session_thread::thread()->stop_thread_wait();
|
||||
|
||||
m_ui->cleanup();
|
||||
|
||||
Reference in New Issue
Block a user