Skip to content

Commit

Permalink
added 'root_child' to the list of unpickleable instance fields of the…
Browse files Browse the repository at this point in the history
… BusKill object because it contains a ctype pointer

 * #14 (comment)
  • Loading branch information
maltfield committed Oct 16, 2022
1 parent 744d8af commit 3abaf5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/packages/buskill/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3abaf5f

Please sign in to comment.