Skip to content

Commit

Permalink
fix(Android): Avoid crash when writing on closed socket.
Browse files Browse the repository at this point in the history
Fixes #167
  • Loading branch information
Rapsssito committed Feb 8, 2023
1 parent a527e6e commit 466a5db
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ public void end(final Integer cId) {
public void run() {
TcpSocketClient socketClient = getTcpClient(cId);
socketClient.destroy();
socketMap.remove(cId);
}
});
}
Expand Down

0 comments on commit 466a5db

Please sign in to comment.