From 96a0635e57d65512886646c8f3d56a87e01278a6 Mon Sep 17 00:00:00 2001
From: Robert Izzard <r.izzard@surrey.ac.uk>
Date: Wed, 10 Nov 2021 21:29:01 +0000
Subject: [PATCH] more code cleanup

---
 binarycpython/utils/grid.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/binarycpython/utils/grid.py b/binarycpython/utils/grid.py
index 4ab3e5496..e91ad4cb5 100644
--- a/binarycpython/utils/grid.py
+++ b/binarycpython/utils/grid.py
@@ -1848,11 +1848,10 @@ class Population:
             self.grid_options['stop_queue'] = True
             self.custom_options['save_snapshot'] = True
             self.grid_options['_killed'] = True
-
+            return
         else:
             # what to do?
-
-        return
+            return
 
 
     def _child_signal_handler(self,signal_data,signum,frame):
-- 
GitLab