mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-01 01:16:01 +00:00
Fixed possible crash when deleting a torrent permanently
This commit is contained in:
parent
2dc75cb98d
commit
2d24b468b6
@ -1,3 +1,6 @@
|
|||||||
|
* Unknown - Christophe Dumez <chris@qbittorrent.org> - v1.2.1
|
||||||
|
- BUGFIX: Fixed possible crash when deleting a torrent permanently
|
||||||
|
|
||||||
* Wed Oct 29th 2008 - Christophe Dumez <chris@qbittorrent.org> - v1.2.0
|
* Wed Oct 29th 2008 - Christophe Dumez <chris@qbittorrent.org> - v1.2.0
|
||||||
- FEATURE: Torrent queueing system (with priorities)
|
- FEATURE: Torrent queueing system (with priorities)
|
||||||
- FEATURE: The number of DHT nodes is displayed
|
- FEATURE: The number of DHT nodes is displayed
|
||||||
|
@ -42,8 +42,8 @@ class subDeleteThread : public QThread {
|
|||||||
}
|
}
|
||||||
|
|
||||||
~subDeleteThread(){
|
~subDeleteThread(){
|
||||||
|
wait();
|
||||||
qDebug("subDeleteThread successfuly deleted");
|
qDebug("subDeleteThread successfuly deleted");
|
||||||
//wait();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
signals:
|
signals:
|
||||||
@ -58,8 +58,8 @@ class subDeleteThread : public QThread {
|
|||||||
else
|
else
|
||||||
emit deletionFailureST(this);*/
|
emit deletionFailureST(this);*/
|
||||||
arb->removeFromFS(save_path);
|
arb->removeFromFS(save_path);
|
||||||
emit deletionSuccessST(this);
|
|
||||||
delete arb;
|
delete arb;
|
||||||
|
emit deletionSuccessST(this);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user