Browse Source

Improvements on statistics saving.

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

2
src/qtlibtorrent/torrentspeedmonitor.cpp

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

Loading…
Cancel
Save