Don't bother closing the socket
This commit is contained in:
parent
6028c2f9e8
commit
77177508ce
@ -52,8 +52,6 @@ func TestHTTPTransportCommunication(t *testing.T) {
|
||||
defer l.Close()
|
||||
|
||||
fn := func(sock transport.Socket) {
|
||||
defer sock.Close()
|
||||
|
||||
for {
|
||||
var m transport.Message
|
||||
if err := sock.Recv(&m); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user