Do RSS serializing on worker thread

PR #16357.
This commit is contained in:
Prince Gupta 2022-06-09 17:46:37 +05:30 committed by GitHub
parent eddeda7bab
commit c47e29c7c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 260 additions and 95 deletions

View file

@ -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.";
}