mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
committed by
GitHub
parent
14e4bc7eea
commit
bb2caabd61
@@ -1387,7 +1387,7 @@ void SessionImpl::endStartup(ResumeSessionContext *context)
|
|||||||
saveTorrentsQueue();
|
saveTorrentsQueue();
|
||||||
|
|
||||||
const Path dbPath = context->startupStorage->path();
|
const Path dbPath = context->startupStorage->path();
|
||||||
delete context->startupStorage;
|
context->startupStorage->deleteLater();
|
||||||
|
|
||||||
if (context->currentStorageType == ResumeDataStorageType::Legacy)
|
if (context->currentStorageType == ResumeDataStorageType::Legacy)
|
||||||
Utils::Fs::removeFile(dbPath);
|
Utils::Fs::removeFile(dbPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user