1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 21:14:33 +00:00

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.
This commit is contained in:
thalieht 2018-02-23 01:55:28 +02:00
parent edef85fa3e
commit 0e30659c26

View File

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