From d6dbd67eff9b1e5d1026ec0a32aeaa2cb9b27d71 Mon Sep 17 00:00:00 2001 From: Andrew Thornton Date: Sun, 15 Dec 2019 10:57:53 +0000 Subject: [PATCH] Fix missed change to GetManager() --- modules/graceful/net_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/graceful/net_windows.go b/modules/graceful/net_windows.go index e191eca123f46..3fc14334912a0 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) }