summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-26 17:16:02 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-26 17:16:02 +0100
commit5babc3e96c2a63c289991d88f029d07176114ea9 (patch)
tree6501cfe21089c6092647730c238e565ba9be4922 /main.c
parentaaa8c31e4cdfb0921b40feef4da6fdcb36d0783f (diff)
fixed crash on unload
Diffstat (limited to 'main.c')
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index d106bc8d..d4a50636 100644
--- a/main.c
+++ b/main.c
@@ -549,6 +549,7 @@ main (int argc, char *argv[]) {
server_close ();
// stop streaming before unloading plugins
+ p_stop ();
streamer_free ();
// plugins might still hood references to playitems,