mirror of
https://github.com/matrix-org/dendrite
synced 2024-12-15 03:43:43 +01:00
Ensure Dendrite has stopped in Pinecone demo Stop()
This commit is contained in:
parent
ceb3874469
commit
34b9c8c670
1 changed files with 2 additions and 1 deletions
|
@ -401,11 +401,12 @@ func (m *DendriteMonolith) Start() {
|
|||
}
|
||||
|
||||
func (m *DendriteMonolith) Stop() {
|
||||
m.processContext.ShutdownDendrite()
|
||||
_ = m.listener.Close()
|
||||
m.PineconeMulticast.Stop()
|
||||
_ = m.PineconeQUIC.Close()
|
||||
m.processContext.ShutdownDendrite()
|
||||
_ = m.PineconeRouter.Close()
|
||||
m.processContext.WaitForComponentsToFinish()
|
||||
}
|
||||
|
||||
const MaxFrameSize = types.MaxFrameSize
|
||||
|
|
Loading…
Reference in a new issue