]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysdep.c
EVENTClient: rather use the FD found on our internal structures then searching it...
[citadel.git] / citadel / sysdep.c
index 422370772fddd851f50735d7dd10f53147f7ded7..25499da30ddaa871cc4d3cbc3a2f3a0646cfc9e1 100644 (file)
@@ -972,6 +972,7 @@ void sysdep_master_cleanup(void) {
        CtdlDestroyServiceHook();
        CtdlDestroyRoomHooks();
        CtdlDestroySearchHooks();
+       CtdlDestroyDebugTable();
        #ifdef HAVE_BACKTRACE
 ///    eCrash_Uninit();
        #endif
@@ -1051,7 +1052,7 @@ void start_daemon(int unused) {
                        }
                        waitpid(current_child, &status, 0);
                }
-               do_restart = 0;
+
                nFireUpsNonRestart = nFireUps;
                
                /* Exit code 0 means the watcher should exit */