mirror of
https://github.com/transmission/transmission
synced 2024-12-26 17:47:37 +00:00
don't require clients to call tr_torrentClearStatusCallback() before tr_torrentClose().
This commit is contained in:
parent
adeee3d886
commit
d89d6faad4
1 changed files with 1 additions and 0 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue