aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorThomas Jansen <mithi@mithi.net>2008-12-28 21:02:14 +0100
committerThomas Jansen <mithi@mithi.net>2008-12-28 21:02:14 +0100
commit8332a70406140cbc7594ca9d54cb9a600b470bb4 (patch)
tree29a4266a8cda671bf375027eaef8b94ffe6a0a98 /src/main.c
parent5e3dc6946f13e721030b887b60e383b58879bc62 (diff)
downloadmpd-8332a70406140cbc7594ca9d54cb9a600b470bb4.tar.gz
mpd-8332a70406140cbc7594ca9d54cb9a600b470bb4.tar.xz
mpd-8332a70406140cbc7594ca9d54cb9a600b470bb4.zip
idle: migrate from pthread to glib threads
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index b64a07f22..e9f696bb0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -268,6 +268,7 @@ int main(int argc, char *argv[])
/* enable GLib's thread safety code */
g_thread_init(NULL);
+ idle_init();
initConf();
parseOptions(argc, argv, &options);
@@ -382,6 +383,7 @@ int main(int argc, char *argv[])
music_pipe_free();
cleanUpPidFile();
finishConf();
+ idle_deinit();
close_log_files();
return EXIT_SUCCESS;