Bugfix: Recover from closed socket
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user