summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarius Makovsky <traveltissues@protonmail.com>2019-10-22 08:59:15 +0100
committerDarius Makovsky <traveltissues@protonmail.com>2019-10-22 09:14:04 +0100
commit84d59e64cbeb06bdc2b981302c8568f96521b188 (patch)
tree63f201ee1dc8d816029875ad5ecaa4fdc2a367fe
parent17b983e308dfed284e382861bd943bc3323f8669 (diff)
downloadbuildstream-traveltissues/1176.tar.gz
-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