diff options
Diffstat (limited to 'modules/graceful/net_unix.go')
-rw-r--r-- | modules/graceful/net_unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/graceful/net_unix.go b/modules/graceful/net_unix.go index 5550c09f42..1e496e9d91 100644 --- a/modules/graceful/net_unix.go +++ b/modules/graceful/net_unix.go @@ -101,7 +101,7 @@ func CloseProvidedListeners() error { // creates a new one using 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() switch network { case "tcp", "tcp4", "tcp6": tcpAddr, err := net.ResolveTCPAddr(network, address) |