Skip to content

Commit 466a5db

Browse files
committed
fix(Android): Avoid crash when writing on closed socket.
Fixes Rapsssito#167
1 parent a527e6e commit 466a5db

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

android/src/main/java/com/asterinet/react/tcpsocket/TcpSocketModule.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ public void end(final Integer cId) {
124124
public void run() {
125125
TcpSocketClient socketClient = getTcpClient(cId);
126126
socketClient.destroy();
127-
socketMap.remove(cId);
128127
}
129128
});
130129
}

0 commit comments

Comments
 (0)