]> 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 <stapelberg@users.noreply.github.com>
Tue, 22 Jan 2019 20:35:44 +0000 (21:35 +0100)
commit02bb2693f9a4c676d0e0a9f99bc648a7a4f98058
treeb7e545bac99f9815fa61e1af5302d817e359adbd
parent82a35a241848213ec73a8e20550110d2a3d8abcb
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