mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
Improvements on statistics saving.
This commit is contained in:
parent
0d139234fe
commit
bb7c2dd9c6
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ 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…
Add table
Add a link
Reference in a new issue