1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

change thread startup/shutdown order slightly wrt to slave thread

svn path=/trunk/icecast/; revision=5791
This commit is contained in:
Karl Heyes 2004-01-28 23:23:10 +00:00
parent c9d6c049ef
commit 78ee74cf3e

View File

@ -103,8 +103,8 @@ static void _shutdown_subsystems(void)
fserve_shutdown();
xslt_shutdown();
refbuf_shutdown();
stats_shutdown();
slave_shutdown();
stats_shutdown();
/* Now that these are done, we can stop the loggers. */
_stop_logging();
@ -439,8 +439,6 @@ int main(int argc, char **argv)
fclose (f);
}
}
/* Do this after logging init */
slave_initialize();
INFO0("icecast server started");
@ -454,6 +452,9 @@ int main(int argc, char **argv)
yp_initialize();
#endif
/* Do this after logging init */
slave_initialize();
_server_proc();
INFO0("Shutting down");