summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
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 0014916b..7598160f 100644
--- a/main.c
+++ b/main.c
@@ -834,6 +834,7 @@ main (int argc, char *argv[]) {
// plugins might still hood references to playitems,
// and query configuration in background
// so unload everything 1st before final cleanup
+ plug_disconnect_all ();
plug_unload_all ();
// at this point we can simply do exit(0), but let's clean up for debugging