summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buildstream/plugins/sources/workspace.py3
-rw-r--r--src/buildstream/source.py2
2 files changed, 0 insertions, 5 deletions
diff --git a/src/buildstream/plugins/sources/workspace.py b/src/buildstream/plugins/sources/workspace.py
index 078ac3034..8dbcc6218 100644
--- a/src/buildstream/plugins/sources/workspace.py
+++ b/src/buildstream/plugins/sources/workspace.py
@@ -103,9 +103,6 @@ class WorkspaceSource(Source):
"Failed to stage source: files clash with existing directory",
reason='ensure-stage-dir-fail')
self.__digest = self.__cas_dir._get_digest().hash
- # now close down grpc channels
- cas.close_grpc_channels()
- assert not cas.has_open_grpc_channels()
return (self.path, self.__digest)
def init_workspace(self, directory: Directory) -> None:
diff --git a/src/buildstream/source.py b/src/buildstream/source.py
index 14307387a..1fb318b52 100644
--- a/src/buildstream/source.py
+++ b/src/buildstream/source.py
@@ -1085,8 +1085,6 @@ class Source(Plugin):
sourcecache = self._get_context().sourcecache
if self.get_kind() == 'workspace' and not sourcecache.contains(self):
sourcecache.commit(self, [])
- sourcecache.cas.close_grpc_channels()
- assert not sourcecache.cas.has_open_grpc_channels()
@property
def _key(self):