mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Improvements on statistics saving.
This commit is contained in:
@@ -74,8 +74,8 @@ TorrentSpeedMonitor::~TorrentSpeedMonitor() {
|
||||
m_abort = true;
|
||||
m_abortCond.wakeOne();
|
||||
wait();
|
||||
dirty = true;
|
||||
lastWrite = 0;
|
||||
if (dirty)
|
||||
lastWrite = 0;
|
||||
saveStats();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user