From 3abaf5fcb61c3d385be92218787fc6391b465230 Mon Sep 17 00:00:00 2001 From: Michael Altfield Date: Sun, 16 Oct 2022 14:36:21 -0500 Subject: [PATCH] added 'root_child' to the list of unpickleable instance fields of the BusKill object because it contains a ctype pointer * https://github.com/BusKill/buskill-app/issues/14#issuecomment-1280026743 --- src/packages/buskill/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/packages/buskill/__init__.py b/src/packages/buskill/__init__.py index 7ff69389..17519150 100644 --- a/src/packages/buskill/__init__.py +++ b/src/packages/buskill/__init__.py @@ -410,7 +410,7 @@ def __getstate__(self): # remove instances of multiprocessing.Process() because they're not # pickleable unpickleable = [ - 'upgrade_process', 'usb_handler' + 'upgrade_process', 'usb_handler', 'root_child' ] for instance_field in unpickleable: if instance_field in state: