mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 23:37:59 +00:00
Delay saving session statistics
Pausing the libtorrent session should be scheduled before this.
This commit is contained in:
parent
c94152c47c
commit
a325ab8d6e
@ -1030,11 +1030,12 @@ void SessionImpl::setGlobalMaxSeedingMinutes(int minutes)
|
||||
// Main destructor
|
||||
SessionImpl::~SessionImpl()
|
||||
{
|
||||
saveStatistics();
|
||||
|
||||
// Do some BT related saving
|
||||
// Do some bittorrent related saving
|
||||
// After this, (ideally) no more important alerts will be generated/handled
|
||||
saveResumeData();
|
||||
|
||||
saveStatistics();
|
||||
|
||||
// We must delete FilterParserThread
|
||||
// before we delete lt::session
|
||||
delete m_filterParser;
|
||||
|
Loading…
Reference in New Issue
Block a user