Re: [systemd-devel] [PATCH 7/7] logind: do not call session_jobs_reply() on CLOSING

2014-02-07 Thread Lennart Poettering
On Thu, 06.02.14 21:37, Djalal Harouni (tix...@opendz.org) wrote: Hmm, isn't this issue already caught by the if (!s-create_message) check in session_send_reply()? Thanks! match_job_removed() signal is triggered when queued jobs finish during session opening or closing. Calling

[systemd-devel] [PATCH 7/7] logind: do not call session_jobs_reply() on CLOSING

2014-02-06 Thread Djalal Harouni
match_job_removed() signal is triggered when queued jobs finish during session opening or closing. Calling session_jobs_reply() during opening is valid, but during session closing does not make sense. The session_send_create_reply() function which is called by session_jobs_reply() is able to