Improvements on statistics saving.

This commit is contained in:
sledgehammer999 2014-01-21 17:38:02 +02:00
commit bb7c2dd9c6

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