diff --git a/src/openflexure_microscope_server/things/stage/__init__.py b/src/openflexure_microscope_server/things/stage/__init__.py index f9c9973f..a42190c6 100644 --- a/src/openflexure_microscope_server/things/stage/__init__.py +++ b/src/openflexure_microscope_server/things/stage/__init__.py @@ -471,7 +471,7 @@ class BaseStage(lt.Thing): command: Optional[JogCommand] = first_command # prevent others using the stage while jogging. - with self._thing_server_interface.hold_global_lock(True), self._hardware_lock: + with self._thing_server_interface.hold_global_lock(), self._hardware_lock: while command is not None: if command.displacement is not None: self._hardware_start_move_relative(command.displacement)