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