Improvements on statistics saving.

This commit is contained in:
sledgehammer999
2014-01-21 17:38:02 +02:00
parent 1399a9c86a
commit 506f933c48

View File

@@ -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();
} }