Browse Source

Fix possible crash when using both share limits

Avoid possible crash in "torrent->name()" when processing seeding time of the torrent that already reached the ratio limit.
adaptive-webui-19844
thalieht 7 years ago
parent
commit
0e30659c26
  1. 1
      src/base/bittorrent/session.cpp

1
src/base/bittorrent/session.cpp

@ -1788,6 +1788,7 @@ void Session::processShareLimits() @@ -1788,6 +1788,7 @@ void Session::processShareLimits()
torrent->pause();
logger->addMessage(tr("'%1' reached the maximum ratio you set. Paused.").arg(torrent->name()));
}
continue;
}
}
}

Loading…
Cancel
Save