Closed AUT0CRAT closed 6 years ago
If the socket is connected inside a service and the application is terminated by removing the app from the recents, the socket is not null but the WebSocket becomes null. So checking is connected causes a null pointer exception.
If the socket is connected inside a service and the application is terminated by removing the app from the recents, the socket is not null but the WebSocket becomes null. So checking is connected causes a null pointer exception.