Browse Source

Fixed possible crash when deleting a torrent permanently

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
2d24b468b6
  1. 3
      Changelog
  2. 4
      src/deleteThread.h

3
Changelog

@ -1,3 +1,6 @@ @@ -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
- FEATURE: Torrent queueing system (with priorities)
- FEATURE: The number of DHT nodes is displayed

4
src/deleteThread.h

@ -42,8 +42,8 @@ class subDeleteThread : public QThread { @@ -42,8 +42,8 @@ class subDeleteThread : public QThread {
}
~subDeleteThread(){
wait();
qDebug("subDeleteThread successfuly deleted");
//wait();
}
signals:
@ -58,8 +58,8 @@ class subDeleteThread : public QThread { @@ -58,8 +58,8 @@ class subDeleteThread : public QThread {
else
emit deletionFailureST(this);*/
arb->removeFromFS(save_path);
emit deletionSuccessST(this);
delete arb;
emit deletionSuccessST(this);
}
};

Loading…
Cancel
Save