aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/accounts-service-user.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/accounts-service-user.vala b/src/accounts-service-user.vala
index f021764..052c7a0 100644
--- a/src/accounts-service-user.vala
+++ b/src/accounts-service-user.vala
@@ -101,6 +101,11 @@ public class AccountsServiceUser : Object {
~AccountsServiceUser () {
this.player = null;
+
+ if (this.timer != 0) {
+ GLib.Source.remove(this.timer);
+ this.timer = 0;
+ }
}
void new_proxy (GLib.Object? obj, AsyncResult res) {