1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +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:
Josh Elsasser 2007-10-26 03:36:02 +00:00
parent 18de1db5b5
commit a3b0698150

View file

@ -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 )