Skip to content

Commit

Permalink
fixed unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
sasbury committed May 5, 2020
1 parent 319ead9 commit ed78ea8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/nats/client/impl/NatsConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -706,12 +706,12 @@ void closeSocketImpl() {

// Now wait until they both stop before closing the socket.
try {
readerStopped = readStop.get(1, TimeUnit.SECONDS);
readStop.get(1, TimeUnit.SECONDS);
} catch (Exception ex) {
//
}
try {
writerStopped = writeStop.get(1, TimeUnit.SECONDS);
writeStop.get(1, TimeUnit.SECONDS);
} catch (Exception ex) {
//
}
Expand Down

0 comments on commit ed78ea8

Please sign in to comment.