mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
Fixed possible crash when deleting a torrent permanently
This commit is contained in:
@@ -42,8 +42,8 @@ class subDeleteThread : public QThread {
|
||||
}
|
||||
|
||||
~subDeleteThread(){
|
||||
wait();
|
||||
qDebug("subDeleteThread successfuly deleted");
|
||||
//wait();
|
||||
}
|
||||
|
||||
signals:
|
||||
@@ -58,8 +58,8 @@ class subDeleteThread : public QThread {
|
||||
else
|
||||
emit deletionFailureST(this);*/
|
||||
arb->removeFromFS(save_path);
|
||||
emit deletionSuccessST(this);
|
||||
delete arb;
|
||||
emit deletionSuccessST(this);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user