Skip to content

Commit fc94bb0

Browse files
committed
Added new attribute to MultigridController to denote when it's started the post-session cleanup process
1 parent 9c2eb31 commit fc94bb0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/murfey/client/multigrid_control.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class MultigridController:
3737
rsync_url: str = ""
3838
rsync_module: str = "data"
3939
demo: bool = False
40+
finalising: bool = False
4041
dormant: bool = False
4142
multigrid_watcher_active: bool = True
4243
processing_enabled: bool = True
@@ -184,6 +185,7 @@ def abandon(self):
184185
p.request_stop()
185186

186187
def finalise(self):
188+
self.finalising = True
187189
for a in self.analysers.values():
188190
a.request_stop()
189191
log.debug(f"Stop request sent to analyser {a}")

0 commit comments

Comments
 (0)