mirror of
https://github.com/rakshasa/rtorrent.git
synced 2026-08-13 13:42:30 +00:00
Moved main thread object to libtorrent.
This commit is contained in:
+2
-2
@@ -114,7 +114,7 @@ Control::initialize() {
|
||||
|
||||
m_ui->init(this);
|
||||
|
||||
m_inputStdin->insert(main_thread->poll());
|
||||
m_inputStdin->insert(torrent::main_thread()->poll());
|
||||
}
|
||||
|
||||
void
|
||||
@@ -124,7 +124,7 @@ Control::cleanup() {
|
||||
|
||||
priority_queue_erase(&taskScheduler, &m_taskShutdown);
|
||||
|
||||
m_inputStdin->remove(main_thread->poll());
|
||||
m_inputStdin->remove(torrent::main_thread()->poll());
|
||||
|
||||
m_core->download_store()->disable();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user