mirror of
https://github.com/transmission/transmission
synced 2025-02-02 20:43:51 +00:00
(trunk libT) #2750 "Crash on quit r9862 in TrCloseFile" -- fixed for 1.80
This commit is contained in:
parent
8bb57959fe
commit
fae3516d4b
1 changed files with 2 additions and 2 deletions
|
@ -1470,6 +1470,8 @@ sessionCloseImpl( void * vsession )
|
|||
|
||||
free_incoming_peer_port( session );
|
||||
|
||||
tr_fdClose( session );
|
||||
|
||||
if( session->isDHTEnabled )
|
||||
tr_dhtUninit( session );
|
||||
|
||||
|
@ -1550,8 +1552,6 @@ tr_sessionClose( tr_session * session )
|
|||
tr_wait_msec( 100 );
|
||||
}
|
||||
|
||||
tr_fdClose( session );
|
||||
|
||||
/* close the libtransmission thread */
|
||||
tr_eventClose( session );
|
||||
while( session->events != NULL )
|
||||
|
|
Loading…
Reference in a new issue