Skip to content

Commit

Permalink
HideTracker: Remove queued update in destructor (#2133)
Browse files Browse the repository at this point in the history
  • Loading branch information
leolost2605 authored Dec 3, 2024
1 parent 30ab868 commit ce3389e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ShellClients/HideTracker.vala
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ public class Gala.HideTracker : Object {
if (hide_timeout_id != 0) {
Source.remove (hide_timeout_id);
}

if (update_timeout_id != 0) {
Source.remove (update_timeout_id);
}
}

construct {
Expand Down

0 comments on commit ce3389e

Please sign in to comment.