Ignore:
Timestamp:
Mar 17, 2011, 6:51:31 PM (11 years ago)
Author:
jordan
Message:

(trunk libT) better shutdown management of libutp and UDP trackers in tr_sessionClose().

This is a little overlapping since the utp code can be closed more-or-less immediately, but the udp manager needs to stay open in order to process the udp tracker connection requests before sending out event=stopped. Moreover DNS resolver can be shut down after the UDP tracker is shutdown.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tr-utp.c

    r12096 r12184  
    170170             tr_session *ss)
    171171{
    172     if(utp_timer == NULL)
     172    if( !ss->isClosed && !utp_timer )
    173173    {
    174174        utp_timer = evtimer_new( ss->event_base, timer_callback, ss );
Note: See TracChangeset for help on using the changeset viewer.