-
-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
Description
Description
Sometimes when the connection gets interrupted while writing data the app will crash with "No socket with id" error. I suspect that this might be due to the write method not catching the errors that is thrown by getTcpClient method.
Steps to reproduce
Steps to reproduce the behavior:
- Write on the socket while it simultaneously gets disconnected.
Current behavior
App crashes with error
Expected behavior
Connection can close but app should not crash.
Relevant information
OS | no |
react-native | yes |
react-native-tcp-socket | yes |