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:
parent
b6f4c9972e
commit
a47a569868
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue