more fixes for the pickle error.
This commit is contained in:
@@ -126,8 +126,10 @@ class driver(screenDriver):
|
||||
"default", # fontfamily
|
||||
]
|
||||
) # end attribute )
|
||||
# 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.update_watchdog, multiprocess=True
|
||||
self.update_watchdog, multiprocess=False
|
||||
)
|
||||
|
||||
def get_curr_screen(self):
|
||||
|
||||
Reference in New Issue
Block a user