From ee904cce0468a8f09f53d101fc3872192548094a Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Sat, 18 Jul 2026 14:13:17 +0545 Subject: [PATCH] fix(notification): null _spring_timer_id after first remove in on_resolved on_resolved removed the GLib source but didn't null the ID, causing double-remove crash when destroy() later tried to clean up the same stale source. --- src/window/notification/notification.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window/notification/notification.py b/src/window/notification/notification.py index 55805b8..768e42c 100644 --- a/src/window/notification/notification.py +++ b/src/window/notification/notification.py @@ -1005,6 +1005,7 @@ class NotificationRevealer(SlideRevealer): # Clean up any ongoing animations if self._spring_timer_id: GLib.source_remove(self._spring_timer_id) + self._spring_timer_id = None # Use different slide directions based on dismiss reason if reason == "expired":