mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-01 19:05:56 +01:00
motion_queuing: Verify nothing attempts to pause in flush callbacks
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -141,6 +141,7 @@ class PrinterMotionQueuing:
|
||||
step_gen_time = max(want_step_gen_time, self.last_step_gen_time,
|
||||
flush_time)
|
||||
# Invoke flush callbacks (if any)
|
||||
with self.reactor.assert_no_pause():
|
||||
for cb in self.flush_callbacks:
|
||||
cb(flush_time, step_gen_time)
|
||||
# Determine maximum history to keep
|
||||
|
||||
Reference in New Issue
Block a user