Changeset 9848


Ignore:
Timestamp:
Jan 1, 2010, 10:28:50 PM (12 years ago)
Author:
charles
Message:

(trunk libT) unset DHT's ip4 and ip6 sockets on shutdown so that the libtransmission thread doesn't block on tr_dhtStatus() during shutdown

File:
1 edited

Legend:

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

    r9836 r9848  
    471471    dht_uninit( 1 );
    472472    tr_netCloseSocket( dht_socket );
    473     if(dht6_socket > 0)
     473    dht_socket = -1;
     474    if(dht6_socket > 0) {
    474475        tr_netCloseSocket( dht6_socket );
     476        dht6_socket = -1;
     477    }
    475478
    476479    tr_ndbg("DHT", "Done uninitializing DHT");
Note: See TracChangeset for help on using the changeset viewer.