set exit_idle_time to 0 when we detect a session

As the comments explain, this fixes relogin problems on some systems
that remove our sockets on logout without terminating the daemon.
This commit is contained in:
Tanu Kaskinen 2018-03-06 15:09:06 +02:00 committed by Arun Raghavan
parent 83675b3745
commit de705a0eea
7 changed files with 79 additions and 5 deletions

View file

@ -258,6 +258,8 @@ void pa_core_set_configured_default_source(pa_core *core, const char *source);
void pa_core_update_default_sink(pa_core *core);
void pa_core_update_default_source(pa_core *core);
void pa_core_set_exit_idle_time(pa_core *core, int time);
/* Check whether no one is connected to this core */
void pa_core_check_idle(pa_core *c);