aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 e18e20f..92c972d 100644
--- a/src/accounts-service-user.vala
+++ b/src/accounts-service-user.vala
@@ -115,6 +115,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) {