Skip to content

Commit

Permalink
add socket close after processing has stopped
Browse files Browse the repository at this point in the history
  • Loading branch information
kortemik committed Sep 13, 2022
1 parent 5985cdf commit bf1a7ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/com/teragrep/rlp_03/SocketProcessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,10 @@ public void run() {
for (Thread thread : messageSelectorThreadList) {
thread.join();
}
} catch (InterruptedException e) {

serverSocket.close();
} catch (InterruptedException | IOException e) {
// FIXME
e.printStackTrace();
}
}
Expand Down

0 comments on commit bf1a7ec

Please sign in to comment.