mirror of https://github.com/grpc/grpc-go.git
server: close only non-closed listeners
The listener can be closed twice: in Close and in Serve. It might lead to pretty bad things, for example, https://golang.org/src/net/unixsock_posix.go#L340 can delete a file which created by another listener. Signed-off-by: Alexander Morozov <lk4d4math@gmail.com>
This commit is contained in:
parent
13edeeffde
commit
47de9c3564
Loading…
Reference in New Issue