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:
|
if self._hide_timer_id is not None:
|
||||||
try:
|
try:
|
||||||
GLib.source_remove(self._hide_timer_id)
|
GLib.source_remove(self._hide_timer_id)
|
||||||
except Exception:
|
except Exception as e:
|
||||||
pass
|
logger.debug(f"[osd_base] Failed to remove hide timer {self._hide_timer_id}: {e}")
|
||||||
self._hide_timer_id = None
|
self._hide_timer_id = None
|
||||||
|
|
||||||
def hide_window(self):
|
def hide_window(self):
|
||||||
|
|||||||
Reference in new issue
Block a user