aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control2
-rw-r--r--src/accounts-service-user.vala5
2 files changed, 6 insertions, 1 deletions
diff --git a/debian/control b/debian/control
index ad6b4fb..40576bd 100644
--- a/debian/control
+++ b/debian/control
@@ -13,7 +13,7 @@ Build-Depends: debhelper (>= 9.0),
autotools-dev,
valac (>= 0.20),
libaccountsservice-dev,
- libdbustest1-dev,
+ libdbustest1-dev (>= 14.04.1),
libgirepository1.0-dev,
libglib2.0-dev (>= 2.22.3),
libgtest-dev,
diff --git a/src/accounts-service-user.vala b/src/accounts-service-user.vala
index debf8bb..ad2cef3 100644
--- a/src/accounts-service-user.vala
+++ b/src/accounts-service-user.vala
@@ -110,6 +110,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) {