Initial version of new room sharing poller. I don't really like this because it...
[citadel.git] / citadel / threads.c
index 5cb70334c0b9fc13703045236de963ac55c899de..5773c8e3f82fd04235f3e77bcf59cfb1064bd9a6 100644 (file)
@@ -179,15 +179,6 @@ void go_threading(void)
        }
 
        /* When we get to this point we are getting ready to shut down our Citadel server */
-       if (!EventQShuttingDown)
-       {
-               EventQShuttingDown = 1;
-               ShutDownEventQueues();
-       }
-       while (!EVQShutDown)
-               usleep(1000000);
-
-
        terminate_all_sessions();               /* close all client sockets */
        CtdlShutdownServiceHooks();             /* close all listener sockets to prevent new connections */
        PerformSessionHooks(EVT_SHUTDOWN);      /* run any registered shutdown hooks */