0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-06-14 02:18:34 +02:00

Pinecone-demo: Wait on dendrite before shutting down

This commit is contained in:
Devon Hudson 2023-03-27 17:19:53 -06:00
parent 69e3bd82a9
commit f4104b4b5d
No known key found for this signature in database
GPG key ID: CD06B18E77F6A628

View file

@ -213,7 +213,7 @@ func (p *P2PMonolith) Stop() {
}
func (p *P2PMonolith) WaitForShutdown() {
p.ProcessCtx.WaitForShutdown()
base.WaitForShutdown(p.ProcessCtx)
p.closeAllResources()
}