Explorar o código

Reduce test log noise due to incorrect shutdown order

Rod Hynes %!s(int64=4) %!d(string=hai) anos
pai
achega
7fe25fc5bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      psiphon/common/tun/tun_test.go

+ 1 - 1
psiphon/common/tun/tun_test.go

@@ -531,8 +531,8 @@ func startTestClient(
 }
 
 func (client *testClient) stop() {
-	client.unixConn.Close()
 	client.tunClient.Stop()
+	client.unixConn.Close()
 }
 
 type testTCPServer struct {