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
|
@ -608,7 +608,7 @@ starttimer( int callnow )
|
|||
if( !evtimer_initialized( &gl_event ) )
|
||||
{
|
||||
evtimer_set( &gl_event, timerfunc, NULL );
|
||||
/* XXX event_base_set( gl_base, &gl_event ); */
|
||||
event_base_set( gl_base, &gl_event );
|
||||
}
|
||||
|
||||
if( callnow )
|
||||
|
|
Loading…
Reference in New Issue