mirror of
https://github.com/transmission/transmission
synced 2024-12-24 08:43:27 +00:00
Whoops. Start the exit timer on the right libevent instance.
This should fix some problems with the daemon exiting.
This commit is contained in:
parent
18de1db5b5
commit
a3b0698150
1 changed files with 1 additions and 1 deletions
|
@ -608,7 +608,7 @@ starttimer( int callnow )
|
||||||
if( !evtimer_initialized( &gl_event ) )
|
if( !evtimer_initialized( &gl_event ) )
|
||||||
{
|
{
|
||||||
evtimer_set( &gl_event, timerfunc, NULL );
|
evtimer_set( &gl_event, timerfunc, NULL );
|
||||||
/* XXX event_base_set( gl_base, &gl_event ); */
|
event_base_set( gl_base, &gl_event );
|
||||||
}
|
}
|
||||||
|
|
||||||
if( callnow )
|
if( callnow )
|
||||||
|
|
Loading…
Reference in a new issue