Update usage of hold_global_lock

The argument to `ThingServerInterface.hold_global_lock` was changed, so that `True` is now the default behaviour.
This commit updates that in the one place where it's used.
This commit is contained in:
Richard Bowman 2026-05-05 22:21:06 +01:00 committed by Julian Stirling
parent b6f4c9972e
commit a47a569868

View file

@ -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)