Преглед изворни кода

Fix missed change to GetManager() (#9361)

tags/v1.11.0-rc1
zeripath пре 4 година
родитељ
комит
7cc16740a5
No account linked to committer's email address
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      modules/graceful/net_windows.go

+ 1
- 1
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…
Откажи
Сачувај