summaryrefslogtreecommitdiff
path: root/src/buildstream/plugins
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-10-10 11:08:09 +0200
committerJürg Billeter <j@bitron.ch>2019-10-15 10:56:17 +0200
commit0d0dc00822243bd00da25b5b4823eadb50fe02db (patch)
treec85ce9481e35c89cc0828f1d9be2d230c3e78e04 /src/buildstream/plugins
parentd0a06b0aadb365420ec6b6df8ac50f4851bd075b (diff)
downloadbuildstream-0d0dc00822243bd00da25b5b4823eadb50fe02db.tar.gz
workspace.py: Do not close gRPC channels
This is now handled in Context.prepare_fork().
Diffstat (limited to 'src/buildstream/plugins')
-rw-r--r--src/buildstream/plugins/sources/workspace.py3
1 files changed, 0 insertions, 3 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: