Bugfix: Recover from closed socket

This commit is contained in:
Axel Wagner
2010-12-26 19:29:57 +01:00
parent 3c85c514d4
commit 3daab599ca
4 changed files with 74 additions and 27 deletions

View File

@ -215,8 +215,6 @@ int main(int argc, char **argv) {
init_outputs();
init_connection(socket_path);
FREE(socket_path);
/* We subscribe to the i3-events we need */
subscribe_events();
@ -249,6 +247,8 @@ int main(int argc, char **argv) {
kill_child();
FREE(socket_path);
FREE(statusline);
clean_xcb();