aboutsummaryrefslogtreecommitdiff
path: root/src/service.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/service.vala')
-rw-r--r--src/service.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/service.vala b/src/service.vala
index c8a57ac..8b83082 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -110,6 +110,10 @@ public class IndicatorSound.Service: Object {
this.loop.run ();
+ /* Ensure we clear the player right after the mainloop quits */
+ if (this.accounts_service != null)
+ this.accounts_service.player = null;
+
return 0;
}