mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 20:58:07 -06:00
committed by
GitHub
parent
4eda3e791a
commit
de7d9c960d
@@ -1649,7 +1649,7 @@ void SessionImpl::endStartup(ResumeSessionContext *context)
|
||||
|
||||
if (context->currentStorageType == ResumeDataStorageType::Legacy)
|
||||
{
|
||||
connect(context->startupStorage, &QObject::destroyed, [dbPath]
|
||||
connect(context->startupStorage, &QObject::destroyed, this, [dbPath]
|
||||
{
|
||||
Utils::Fs::removeFile(dbPath);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user