diff options
Diffstat (limited to 'setup/base')
-rw-r--r-- | setup/base/base.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/setup/base/base.go b/setup/base/base.go index ff38209f..de8f8151 100644 --- a/setup/base/base.go +++ b/setup/base/base.go @@ -595,6 +595,12 @@ func (b *BaseDendrite) WaitForShutdown() { logrus.Warnf("failed to flush all Sentry events!") } } + if b.Fulltext != nil { + err := b.Fulltext.Close() + if err != nil { + logrus.Warnf("failed to close full text search!") + } + } logrus.Warnf("Dendrite is exiting now") } |