summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buildstream/_cas/cascache.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buildstream/_cas/cascache.py b/src/buildstream/_cas/cascache.py
index 50a83875a..93be1b134 100644
--- a/src/buildstream/_cas/cascache.py
+++ b/src/buildstream/_cas/cascache.py
@@ -120,6 +120,7 @@ class CASCache():
def __getstate__(self):
state = self.__dict__.copy()
+ state['_cache_usage_monitor'] = None
# Popen objects are not pickle-able, however, child processes only
# need the information whether a casd subprocess was started or not.
assert '_casd_process' in state