diff --git a/lib/logitech_receiver/listener.py b/lib/logitech_receiver/listener.py index 966fc35b..3f665ba7 100644 --- a/lib/logitech_receiver/listener.py +++ b/lib/logitech_receiver/listener.py @@ -222,7 +222,8 @@ class EventsListener(_threading.Thread): if self._active: # and _threading.current_thread() == self: # if _log.isEnabledFor(_DEBUG): # _log.debug("queueing unhandled %s", n) - self._queued_notifications.put(n) + if not self._queued_notifications.full(): + self._queued_notifications.put(n) def __bool__(self): return bool(self._active and self.receiver)