Skip to content

Commit

Permalink
Fix missed change to GetManager() (#9361)
Browse files Browse the repository at this point in the history
  • Loading branch information
zeripath authored Dec 15, 2019
1 parent 3abe17f commit 7cc1674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/graceful/net_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 7cc1674

Please sign in to comment.