]> git.sur5r.net Git - i3/i3/commit
cmd_exit: Let i3_exit handle shutdown (#3600)
authorOrestis <orestisf1993@gmail.com>
Tue, 22 Jan 2019 20:35:44 +0000 (22:35 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 23 Jan 2019 20:21:46 +0000 (21:21 +0100)
commitf0e19d112c4367d99875eeefbc09d81dbf108501
tree55b891cc54d122b8af7d66c5f7d47ca6d1e496ea
parent4f768c6eda947bc04b21f4b8fe12ee86c712456b
cmd_exit: Let i3_exit handle shutdown (#3600)

- __lsan_do_leak_check() will terminate the process, so move it to the
end of the function.
- ev_loop_destroy() must be called after ipc_shutdown() because the
latter calls ev_ functions.

Fixes #3599
src/commands.c
src/main.c