mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
parent
14e4bc7eea
commit
bb2caabd61
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue