Browse Source

Fix missed change to GetManager() (#9361)

tags/v1.11.0-rc1
zeripath 4 years ago
parent
commit
7cc16740a5
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/graceful/net_windows.go

+ 1
- 1
modules/graceful/net_windows.go View File

// On windows this is basically just a shim around net.Listen. // On windows this is basically just a shim around net.Listen.
func GetListener(network, address string) (net.Listener, error) { func GetListener(network, address string) (net.Listener, error) {
// Add a deferral to say that we've tried to grab a listener // Add a deferral to say that we've tried to grab a listener
defer Manager.InformCleanup()
defer GetManager().InformCleanup()


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

Loading…
Cancel
Save