#899: Hangs when clicking verify data twice
This commit is contained in:
parent
42cbbaa57a
commit
2f3eba4b01
|
@ -956,9 +956,10 @@ torrentRecheckDoneCB( tr_torrent * tor )
|
||||||
void
|
void
|
||||||
tr_torrentVerify( tr_torrent * tor )
|
tr_torrentVerify( tr_torrent * tor )
|
||||||
{
|
{
|
||||||
|
tr_verifyRemove( tor );
|
||||||
|
|
||||||
tr_globalLock( tor->handle );
|
tr_globalLock( tor->handle );
|
||||||
|
|
||||||
tr_verifyRemove( tor );
|
|
||||||
tr_torrentUncheck( tor );
|
tr_torrentUncheck( tor );
|
||||||
tr_verifyAdd( tor, torrentRecheckDoneCB );
|
tr_verifyAdd( tor, torrentRecheckDoneCB );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue