mirror of
https://github.com/matrix-org/dendrite
synced 2024-11-19 16:20:51 +01:00
Pinecone-demo: Wait on dendrite before shutting down
This commit is contained in:
parent
69e3bd82a9
commit
f4104b4b5d
1 changed files with 1 additions and 1 deletions
|
@ -213,7 +213,7 @@ func (p *P2PMonolith) Stop() {
|
|||
}
|
||||
|
||||
func (p *P2PMonolith) WaitForShutdown() {
|
||||
p.ProcessCtx.WaitForShutdown()
|
||||
base.WaitForShutdown(p.ProcessCtx)
|
||||
p.closeAllResources()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue