mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
@@ -122,12 +122,14 @@ Session::~Session()
|
||||
{
|
||||
qDebug() << "Deleting RSS Session...";
|
||||
|
||||
m_workingThread->quit();
|
||||
m_workingThread->wait();
|
||||
|
||||
//store();
|
||||
delete m_itemsByPath[u""_qs]; // deleting root folder
|
||||
|
||||
// some items may add I/O operation at destruction
|
||||
// stop working thread after deleting root folder
|
||||
m_workingThread->quit();
|
||||
m_workingThread->wait();
|
||||
|
||||
qDebug() << "RSS Session deleted.";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user