What was I thinking?
This commit is contained in:
parent
c4bd99cbf8
commit
e75f0a6fab
|
@ -756,9 +756,7 @@ static void acceptStop( tr_handle_t * h )
|
||||||
int ii;
|
int ii;
|
||||||
|
|
||||||
h->acceptDie = 1;
|
h->acceptDie = 1;
|
||||||
tr_lockLock( &h->acceptLock );
|
|
||||||
tr_threadJoin( &h->acceptThread );
|
tr_threadJoin( &h->acceptThread );
|
||||||
tr_lockUnlock( &h->acceptLock );
|
|
||||||
tr_lockClose( &h->acceptLock );
|
tr_lockClose( &h->acceptLock );
|
||||||
tr_dbg( "Accept thread joined" );
|
tr_dbg( "Accept thread joined" );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue