diff options
-rw-r--r-- | src/buildstream/_context.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildstream/_context.py b/src/buildstream/_context.py index f9bac4c54..5aa1f595f 100644 --- a/src/buildstream/_context.py +++ b/src/buildstream/_context.py @@ -180,7 +180,8 @@ class Context(): # Called when exiting the with-statement context. # def __exit__(self, exc_type, exc_value, traceback): - return None + if self._cascache: + self._cascache.release_resources(self.messenger) # load() # |