more fixes for the pickle error.
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user