diff options
author | Devon Hudson <devonhudson@librem.one> | 2023-03-27 17:19:53 -0600 |
---|---|---|
committer | Devon Hudson <devonhudson@librem.one> | 2023-03-27 17:19:53 -0600 |
commit | f4104b4b5d21df9dfedd9873a5d8b6bc63e96e99 (patch) | |
tree | 0de2c505f727e7681a127f73f83af8f88fed7774 /cmd/dendrite-demo-pinecone/monolith | |
parent | 69e3bd82a94470c4072637374dea82b8c2acfaec (diff) |
Pinecone-demo: Wait on dendrite before shutting down
Diffstat (limited to 'cmd/dendrite-demo-pinecone/monolith')
-rw-r--r-- | cmd/dendrite-demo-pinecone/monolith/monolith.go | 2 |
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() } |