1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 01:57:52 +00:00

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

View file

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