Fixed possible crash when deleting a torrent permanently

This commit is contained in:
Christophe Dumez 2008-11-01 12:33:52 +00:00
commit 2d24b468b6
2 changed files with 5 additions and 2 deletions

View file

@ -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);
}
};