summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-10-10 12:22:31 +0200
committerJürg Billeter <j@bitron.ch>2019-10-15 09:43:08 +0200
commit66031eaaf9a020526d0d23a7dabc5564a895ab6d (patch)
tree6c620622cbdbea6ec7518aa1e0474c991c962b9d
parent13d9ab50e96d4a22f26ba9e4b67e7f2088b51edf (diff)
downloadbuildstream-66031eaaf9a020526d0d23a7dabc5564a895ab6d.tar.gz
_artifactcache.py: Reset artifact_service in ArtifactRemote.close()
-rw-r--r--src/buildstream/_artifactcache.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/buildstream/_artifactcache.py b/src/buildstream/_artifactcache.py
index b4d4efe00..d9112cd58 100644
--- a/src/buildstream/_artifactcache.py
+++ b/src/buildstream/_artifactcache.py
@@ -42,6 +42,10 @@ class ArtifactRemote(BaseRemote):
super().__init__(*args, **kwargs)
self.artifact_service = None
+ def close(self):
+ self.artifact_service = None
+ super().close()
+
# _configure_protocols():
#
# Configure the protocols used by this remote as part of the