We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97c2c53 commit 73d4b4cCopy full SHA for 73d4b4c
1 file changed
libensemble/worker.py
@@ -415,4 +415,5 @@ def run(self) -> None:
415
self.gen_runner.shutdown()
416
self.sim_runner.shutdown()
417
self.EnsembleDirectory.copy_back()
418
- Executor.executor.comm = None # so Executor can be pickled upon further libE calls
+ if Executor.executor is not None:
419
+ Executor.executor.comm = None # so Executor can be pickled upon further libE calls
0 commit comments