Skip to content

Commit

Permalink
Do a full shutdown if the dome is closing
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Feb 13, 2025
1 parent dd0354c commit 1c140a8
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/gort/overwatcher/overwatcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,12 @@ async def handle_dome_closing(self):
return

if ow.observer.is_observing and not ow.observer.is_cancelling:
await ow.observer.stop_observing(
immediate=True,
reason="dome is closing",
await ow.shutdown(
"dome is closing",
level="warning",
close_dome=False,
park=False,
disable_overwatcher=True,
)


Expand Down

0 comments on commit 1c140a8

Please sign in to comment.