* Be more aggressive about shutting down when told to. Getting the
[citadel.git] / citadel / housekeeping.c
index 788fd913bae76f7b6fcb3d71d53fe136cfefe529..1b8deeb9a264359939af70fa54815864fb6e81e6 100644 (file)
@@ -82,6 +82,7 @@ void check_sched_shutdown(void) {
        if ((ScheduledShutdown == 1) && (ContextList == NULL)) {
                lprintf(CTDL_NOTICE, "Scheduled shutdown initiating.\n");
                time_to_die = 1;
+               master_cleanup();
        }
 }