diff --git a/openpilot/common/params.py b/openpilot/common/params.py index fc292b56dd..9357a0a5d3 100644 --- a/openpilot/common/params.py +++ b/openpilot/common/params.py @@ -117,6 +117,7 @@ class Params: path = ensure_bytes(d) self.p = params_create(path, len(path)) self._finalizer = weakref.finalize(self, params_destroy, self.p) + self._finalizer.atexit = False # daemon threads can still be using live Params handles during interpreter shutdown self.d = d def __reduce__(self):