mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 09:13:10 +00:00
Fix missed change to GetManager() (#9361)
This commit is contained in:
parent
3abe17f9e0
commit
7cc16740a5
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ import "net"
|
|||
// On windows this is basically just a shim around net.Listen.
|
||||
func GetListener(network, address string) (net.Listener, error) {
|
||||
// Add a deferral to say that we've tried to grab a listener
|
||||
defer Manager.InformCleanup()
|
||||
defer GetManager().InformCleanup()
|
||||
|
||||
return net.Listen(network, address)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue