more fixes for the pickle error.

This commit is contained in:
Storm Dragon
2025-11-23 18:37:21 -05:00
parent 77a3aae5a4
commit 87553bdc38
4 changed files with 23 additions and 5 deletions
@@ -20,8 +20,10 @@ class driver(remoteDriver):
def initialize(self, environment):
self.env = environment
# Use threading instead of multiprocessing to avoid pickle issues
# with self.env (which contains unpicklable file handles)
self.env["runtime"]["ProcessManager"].add_custom_event_thread(
self.watch_dog, multiprocess=True
self.watch_dog, multiprocess=False
)
def watch_dog(self, active, event_queue):