Skip to content

Commit b1a6eca

Browse files
author
Ilya Sumbatyants
committed
Close socket on disconnect
1 parent 64dff36 commit b1a6eca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/cisco/trex/stateless/TRexTransport.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ public String getPort() {
8181

8282
synchronized public void close() {
8383
zmqSocket.disconnect(connectionString);
84+
zmqSocket.close();
8485
zmqCtx.close();
8586
}
8687

0 commit comments

Comments
 (0)