summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/graceful/net_windows.go2
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)
}