mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-28 23:44:32 +00:00
Improvements on statistics saving.
This commit is contained in:
parent
0d139234fe
commit
bb7c2dd9c6
@ -74,8 +74,8 @@ TorrentSpeedMonitor::~TorrentSpeedMonitor() {
|
|||||||
m_abort = true;
|
m_abort = true;
|
||||||
m_abortCond.wakeOne();
|
m_abortCond.wakeOne();
|
||||||
wait();
|
wait();
|
||||||
dirty = true;
|
if (dirty)
|
||||||
lastWrite = 0;
|
lastWrite = 0;
|
||||||
saveStats();
|
saveStats();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user