]> code.citadel.org Git - citadel.git/blobdiff - citadel/server_main.c
Now we have a thread state for blocked. Only works for the select in the
[citadel.git] / citadel / server_main.c
index e0f3e5c613825d9e643251e0cb0717561e8f3d30..74c282673646fa73088a5f5995fba368dc68ad63 100644 (file)
@@ -349,6 +349,8 @@ int main(int argc, char **argv)
        /*
         * If the above loop exits we must be shutting down since we obviously have no threads
         */
+       ctdl_thread_internal_cleanup();
+       
        master_cleanup(exit_signal);
        return(0);
 }