Improvements on statistics saving.

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

View file

@ -74,8 +74,8 @@ TorrentSpeedMonitor::~TorrentSpeedMonitor() {
m_abort = true;
m_abortCond.wakeOne();
wait();
dirty = true;
lastWrite = 0;
if (dirty)
lastWrite = 0;
saveStats();
}