From 6ebc8b959ae45538e04d6831c94779b5c0c3d58e Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 20 Mar 2014 15:58:44 -0500 Subject: Backport the timer patch --- src/accounts-service-user.vala | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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) { -- cgit v1.2.3