diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-02-11 20:03:10 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-02-11 20:03:10 +0100 |
commit | 06698504cafb9d3b87674c51bbd49dbbb6a54db0 (patch) | |
tree | 24934f001c2951e2151411693bec178717686a0d /main.c | |
parent | 70fc72b7d985394517d3d84c3c160c3476adaf32 (diff) |
playlist thread-safety measures
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -563,7 +563,8 @@ main (int argc, char *argv[]) { } - conf_load (); // required by some plugin at startup + pl_init (); + conf_load (); // required by some plugins at startup messagepump_init (); // required to push messages while handling commandline plug_load_all (); // required to add files to playlist from commandline @@ -639,11 +640,11 @@ main (int argc, char *argv[]) { plug_unload_all (); // at this point we can simply do exit(0), but let's clean up for debugging - pl_free (); conf_free (); messagepump_free (); plt_free (); plug_free_decoder_ids (); + pl_free (); sigterm_handled = 1; fprintf (stderr, "hej-hej!\n"); return 0; |