mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Improvements on statistics saving.
This commit is contained in:
parent
1399a9c86a
commit
506f933c48
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@ TorrentSpeedMonitor::~TorrentSpeedMonitor() {
|
|||
m_abort = true;
|
||||
m_abortCond.wakeOne();
|
||||
wait();
|
||||
dirty = true;
|
||||
lastWrite = 0;
|
||||
if (dirty)
|
||||
lastWrite = 0;
|
||||
saveStats();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue