Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check that WS connection is open before closing it on failed. Fixes f…
…acebook#3346 Summary: Check that the WS state is set to OPEN before trying to close it when the ```websocketFailed``` event fires. Otherwise the app throws an error at the Android level. Fixes facebook#3346 Closes facebook#3347 Reviewed By: @svcscm Differential Revision: D2535807 Pulled By: @mkonicek fb-gh-sync-id: bb70c551ea2e582cfaa80139a265dbbca6d990d2
- Loading branch information