1
0
Fork 0
forked from forgejo/forgejo

Remove unused error in graceful manager (#29871)

As title.

(cherry picked from commit 1f0d31ce8fdfc8c32f84e4e0801c2d04b727bbd8)
This commit is contained in:
Nanguan Lin 2024-03-19 05:14:51 +08:00 committed by Earl Warren
parent 4711d3311b
commit 40c9fa43cd
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 4 additions and 12 deletions

View file

@ -59,8 +59,8 @@ func (g *Manager) start() {
go func() {
defer func() {
close(startupDone)
// Close the unused listeners and ignore the error here there's not much we can do with it, they're logged in the CloseProvidedListeners function
_ = CloseProvidedListeners()
// Close the unused listeners
closeProvidedListeners()
}()
// Wait for all servers to be created
g.createServerCond.L.Lock()