X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=openbox%2Fopenbox.c;h=e71465a68db6cb9e075b5a15bbf413901e0e8583;hb=308478e4a5f4dc76d69395dda8a9bc42cb69eec4;hp=5be4e785e5e32a2e00693c7749f684e40d8d1969;hpb=e6fea245756b59f83dc0f51d13feee9cf093a1a1;p=chaz%2Fopenbox diff --git a/openbox/openbox.c b/openbox/openbox.c index 5be4e785..e71465a6 100644 --- a/openbox/openbox.c +++ b/openbox/openbox.c @@ -417,6 +417,7 @@ gint main(gint argc, gchar **argv) obt_display_close(); if (restart) { + ob_debug_shutdown(); if (restart_path != NULL) { gint argcp; gchar **argvp; @@ -470,7 +471,8 @@ gint main(gint argc, gchar **argv) g_free(ob_sm_id); g_free(program_name); - ob_debug_shutdown(); + if (!restart) + ob_debug_shutdown(); return exitcode; }