Skip to content

Commit

Permalink
Merge pull request #364 from vshekar/fix-albula-startup-bug
Browse files Browse the repository at this point in the history
Startup checks don't happen during monitor handling
  • Loading branch information
vshekar authored Mar 8, 2024
2 parents 46aa260 + ca06daf commit ddaaa4d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gui/albula/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ def setup_monitor(self, ip, gov_message_pv_name):

def handle_monitor(self, char_value, **kwargs):
if char_value == GovState.DA.value:
self.startup()
self._stop.clear()
self.imageDaemon = threading.Thread(target=self.update_image, args=())
if not self.imageDaemon.is_alive():
Expand Down Expand Up @@ -122,7 +121,6 @@ def run(self):
"""
Run an endless loop, stopped by keyboard interrupt or exception
"""
self.startup()

while not self._stop.is_set():
try:
Expand Down

0 comments on commit ddaaa4d

Please sign in to comment.