diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-04-27 16:04:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 16:04:11 +0100 |
commit | 34221938ccb1f3a885ac9e5a36b79d3d74850d38 (patch) | |
tree | 53de9fe28ac5f6e177849fd93215779870a79704 /setup/base | |
parent | 923f789ca3174a685bd53ce5e64a5e86cabd38cb (diff) |
Version 0.8.2 (#2386)v0.8.2
* Version 0.8.2
* Correct account data position mapping
* Try that again
* Don't duplicate wait-for-shutdowns
Diffstat (limited to 'setup/base')
-rw-r--r-- | setup/base/base.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/setup/base/base.go b/setup/base/base.go index e67b034a..7091c6ba 100644 --- a/setup/base/base.go +++ b/setup/base/base.go @@ -469,14 +469,12 @@ func (b *BaseDendrite) SetupAndServeHTTP( } minwinsvc.SetOnExit(b.ProcessContext.ShutdownDendrite) - <-b.ProcessContext.WaitForShutdown() + logrus.Infof("Stopping HTTP listeners") _ = internalServ.Shutdown(context.Background()) _ = externalServ.Shutdown(context.Background()) logrus.Infof("Stopped HTTP listeners") - - b.WaitForShutdown() } func (b *BaseDendrite) WaitForShutdown() { |