PeelTechnologies / react-native-tcp

node's net api in react-native
MIT License
284 stars 212 forks source link

Socket does not disconnect on hot reloading #113

Open ostafen opened 4 years ago

ostafen commented 4 years ago

Hi, I'm using react native tcp to implement a client connection.

However, when reloading app after i change something, the old socket is not destroyed, and lives with the new instance.

How can i fix this?

donghuiqiu commented 3 years ago

hello ! Did you fix that?