Skip to content

Commit ec6b802

Browse files
authored
fix: correct argument passing for multiprocessing in massage_task_within_subprocess (#302)
1 parent a5e3b46 commit ec6b802

File tree

1 file changed

+1
-1
lines changed
  • browsergym/experiments/src/browsergym/experiments/benchmark

1 file changed

+1
-1
lines changed

browsergym/experiments/src/browsergym/experiments/benchmark/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def run_massage(outcome_queue: mp.Queue):
260260
outcome_queue.put(outcome)
261261

262262
queue = mp.Queue()
263-
process = mp.Process(target=run_massage, args=queue)
263+
process = mp.Process(target=run_massage, args=(queue,))
264264
process.start()
265265
process.join(timeout=timeout)
266266

0 commit comments

Comments
 (0)