diff --git a/klippy/extras/idle_timeout.py b/klippy/extras/idle_timeout.py index 9a4cd450..479c0b5c 100644 --- a/klippy/extras/idle_timeout.py +++ b/klippy/extras/idle_timeout.py @@ -71,6 +71,8 @@ class IdleTimeout: # Idle timeout has elapsed return self.transition_idle_state(eventtime) def timeout_handler(self, eventtime): + if self.printer.is_shutdown(): + return self.reactor.NEVER if self.state == "Ready": return self.check_idle_timeout(eventtime) # Check if need to transition to "ready" state