A couple of minor speed ups and the beginings of using signals in
[citadel.git] / citadel / server_main.c
index 363c058cd35b2343850e83e0810f0f0347af97ae..5c507a578d3a12f5ed8130b334ab2920b66afc02 100644 (file)
@@ -380,6 +380,8 @@ void go_threading(void)
        
        while (CtdlThreadGetCount())
        {
+               if (CT->signal)
+                       exit_signal = CT->signal;
                if (exit_signal)
                        CtdlThreadStopAll();
                check_sched_shutdown();