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, 3 insertions, 1 deletions
diff --git a/src/service.vala b/src/service.vala
index 3bda52f..f6c5f01 100644
--- a/src/service.vala
+++ b/src/service.vala
@@ -67,8 +67,10 @@ public class IndicatorSound.Service: Object {
}
~Service() {
- if (this.sound_was_blocked_timeout_id > 0)
+ if (this.sound_was_blocked_timeout_id > 0) {
Source.remove (this.sound_was_blocked_timeout_id);
+ this.sound_was_blocked_timeout_id = 0;
+ }
}
void build_accountsservice () {