Skip to content

Commit

Permalink
Fix interference bug (#485)
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-janssen authored Nov 9, 2024
1 parent c8648ed commit 649ef6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executorlib/interactive/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ def _submit_function_to_separate_process(
RaisingThread, dict: thread for communicating with the python process which is executing the function and
dictionary containing the future objects and the number of cores they require
"""
resource_dict = task_dict.pop("resource_dict")
resource_dict = task_dict.pop("resource_dict").copy()
qtask.put(task_dict)
qtask.put({"shutdown": True, "wait": True})
if "cores" not in resource_dict.keys() or (
Expand Down

0 comments on commit 649ef6c

Please sign in to comment.