mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-18 19:43:09 -06:00
Check error and log when closing full text search
This commit is contained in:
parent
4dab13a5da
commit
9d52bed9c1
|
|
@ -596,7 +596,10 @@ func (b *BaseDendrite) WaitForShutdown() {
|
|||
}
|
||||
}
|
||||
if b.Fulltext != nil {
|
||||
b.Fulltext.Close()
|
||||
err := b.Fulltext.Close()
|
||||
if err != nil {
|
||||
logrus.Warnf("failed to close full text search!")
|
||||
}
|
||||
}
|
||||
|
||||
logrus.Warnf("Dendrite is exiting now")
|
||||
|
|
|
|||
Loading…
Reference in a new issue