Skip to content

Commit 7cc1674

Browse files
authored
Fix missed change to GetManager() (#9361)
1 parent 3abe17f commit 7cc1674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/graceful/net_windows.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import "net"
1313
// On windows this is basically just a shim around net.Listen.
1414
func GetListener(network, address string) (net.Listener, error) {
1515
// Add a deferral to say that we've tried to grab a listener
16-
defer Manager.InformCleanup()
16+
defer GetManager().InformCleanup()
1717

1818
return net.Listen(network, address)
1919
}

0 commit comments

Comments
 (0)