#899: Hangs when clicking verify data twice

This commit is contained in:
Charles Kerr 2008-04-27 06:34:34 +00:00
parent 42cbbaa57a
commit 2f3eba4b01
1 changed files with 2 additions and 1 deletions

View File

@ -956,9 +956,10 @@ torrentRecheckDoneCB( tr_torrent * tor )
void
tr_torrentVerify( tr_torrent * tor )
{
tr_verifyRemove( tor );
tr_globalLock( tor->handle );
tr_verifyRemove( tor );
tr_torrentUncheck( tor );
tr_verifyAdd( tor, torrentRecheckDoneCB );