Browse Source

Improvements on statistics saving.

adaptive-webui-19844
sledgehammer999 11 years ago
parent
commit
bb7c2dd9c6
  1. 4
      src/qtlibtorrent/torrentspeedmonitor.cpp

4
src/qtlibtorrent/torrentspeedmonitor.cpp

@ -74,8 +74,8 @@ 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…
Cancel
Save