mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-17 02:53:11 -06:00
Close full text search index on dendrite shutdown
This commit is contained in:
parent
3b76c776f6
commit
33cdc5adb7
|
|
@ -595,6 +595,9 @@ func (b *BaseDendrite) WaitForShutdown() {
|
|||
logrus.Warnf("failed to flush all Sentry events!")
|
||||
}
|
||||
}
|
||||
if b.Fulltext != nil {
|
||||
b.Fulltext.Close()
|
||||
}
|
||||
|
||||
logrus.Warnf("Dendrite is exiting now")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue