fix(osd): log exception when removing hide timer source
except Exception: pass was hiding stale ID errors.
This commit is contained in:
1 file changed
+2
-2
@@ -73,8 +73,8 @@ class BaseOSDContainer(Box):
|
||||
if self._hide_timer_id is not None:
|
||||
try:
|
||||
GLib.source_remove(self._hide_timer_id)
|
||||
except Exception:
|
||||
pass
|
||||
except Exception as e:
|
||||
logger.debug(f"[osd_base] Failed to remove hide timer {self._hide_timer_id}: {e}")
|
||||
self._hide_timer_id = None
|
||||
|
||||
def hide_window(self):
|
||||
|
||||
Reference in new issue
Block a user