Browse Source

Fix missed change to GetManager() (#9361)

lunny/display_deleted_branch2
zeripath 3 years ago
committed by GitHub
parent
commit
7cc16740a5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/graceful/net_windows.go

2
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)
}
Loading…
Cancel
Save