diff options
author | zeripath <art27@cantab.net> | 2019-12-15 13:15:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-15 13:15:17 +0000 |
commit | 7cc16740a56072465b3938cbb9cd326d40bd7ba9 (patch) | |
tree | 13cb043e0b5d982f1336dfce8f583249e95962cf /modules/graceful | |
parent | 3abe17f9e088d24eff4f4e3b98a6c555db334202 (diff) | |
download | gitea-7cc16740a56072465b3938cbb9cd326d40bd7ba9.tar.gz gitea-7cc16740a56072465b3938cbb9cd326d40bd7ba9.zip |
Fix missed change to GetManager() (#9361)
Diffstat (limited to 'modules/graceful')
-rw-r--r-- | modules/graceful/net_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/graceful/net_windows.go b/modules/graceful/net_windows.go index e191eca123..3fc1433491 100644 --- a/modules/graceful/net_windows.go +++ b/modules/graceful/net_windows.go @@ -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) } |