mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-24 01:08:06 -06:00
- Make sure torrent handle is valid before updating the torrent
This commit is contained in:
@@ -279,6 +279,7 @@ void FinishedTorrents::updateMetadata(QTorrentHandle &h) {
|
||||
}
|
||||
|
||||
void FinishedTorrents::updateTorrent(QTorrentHandle h) {
|
||||
if(!h.is_valid()) return;
|
||||
QString hash = h.hash();
|
||||
int row = getRowFromHash(hash);
|
||||
if(row == -1){
|
||||
|
||||
Reference in New Issue
Block a user