don't require clients to call tr_torrentClearStatusCallback() before tr_torrentClose().

This commit is contained in:
Charles Kerr 2007-11-11 03:14:01 +00:00
parent adeee3d886
commit d89d6faad4
1 changed files with 1 additions and 0 deletions

View File

@ -1089,6 +1089,7 @@ tr_torrentClose( tr_torrent * tor )
{
tr_globalLock( tor->handle );
tr_torrentClearStatusCallback( tor );
tr_runInEventThread( tor->handle, closeTorrent, tor );
tr_globalUnlock( tor->handle );