aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevon Hudson <devonhudson@librem.one>2023-03-27 17:19:53 -0600
committerDevon Hudson <devonhudson@librem.one>2023-03-27 17:19:53 -0600
commitf4104b4b5d21df9dfedd9873a5d8b6bc63e96e99 (patch)
tree0de2c505f727e7681a127f73f83af8f88fed7774
parent69e3bd82a94470c4072637374dea82b8c2acfaec (diff)
Pinecone-demo: Wait on dendrite before shutting down
-rw-r--r--cmd/dendrite-demo-pinecone/monolith/monolith.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dendrite-demo-pinecone/monolith/monolith.go b/cmd/dendrite-demo-pinecone/monolith/monolith.go
index 10a3493e..d1a6e39e 100644
--- a/cmd/dendrite-demo-pinecone/monolith/monolith.go
+++ b/cmd/dendrite-demo-pinecone/monolith/monolith.go
@@ -213,7 +213,7 @@ func (p *P2PMonolith) Stop() {
}
func (p *P2PMonolith) WaitForShutdown() {
- p.ProcessCtx.WaitForShutdown()
+ base.WaitForShutdown(p.ProcessCtx)
p.closeAllResources()
}