X-Git-Url: https://git.sur5r.net/?p=i3%2Fi3;a=blobdiff_plain;f=src%2Fcommands.c;fp=src%2Fcommands.c;h=b3c1f5e02b1a3db40c0d3504a4f8567d2665f59a;hp=eecd59fc063f4f7cff0ff9c398ce1bcc3c205c3c;hb=f0e19d112c4367d99875eeefbc09d81dbf108501;hpb=4f768c6eda947bc04b21f4b8fe12ee86c712456b diff --git a/src/commands.c b/src/commands.c index eecd59fc..b3c1f5e0 100644 --- a/src/commands.c +++ b/src/commands.c @@ -13,10 +13,6 @@ #include #include -#ifdef I3_ASAN_ENABLED -#include -#endif - #include "shmlog.h" // Macros to make the YAJL API a bit easier to use. @@ -1567,12 +1563,6 @@ void cmd_layout_toggle(I3_CMD, const char *toggle_mode) { */ void cmd_exit(I3_CMD) { LOG("Exiting due to user command.\n"); -#ifdef I3_ASAN_ENABLED - __lsan_do_leak_check(); -#endif - ipc_shutdown(SHUTDOWN_REASON_EXIT); - unlink(config.ipc_socket_path); - xcb_disconnect(conn); exit(0); /* unreached */