fix(sim): ensure to update the state before setting the status to finished
This commit is contained in:
parent
c4d90a2527
commit
2e8ddbb1ad
@ -167,6 +167,7 @@ class SimPositioner(Device, PositionerBase):
|
||||
self._update_state(ii)
|
||||
if self._stopped:
|
||||
raise DeviceStopError(f"{self.name} was stopped")
|
||||
self._update_state(target)
|
||||
st.set_finished()
|
||||
# pylint: disable=broad-except
|
||||
except Exception as exc:
|
||||
|
Loading…
x
Reference in New Issue
Block a user