mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
connect / disconnect with websocket not when starting / stopping
Reviewed By: kittens Differential Revision: D4937181 fbshipit-source-id: d1ec8144567809537fc7e321c255501bb130939b
This commit is contained in:
committed by
Facebook Github Bot
parent
f09fdcbd2b
commit
f1d5fdd468
+1
-1
@@ -76,7 +76,7 @@ final public class JSPackagerClient implements ReconnectingWebSocket.MessageCall
|
||||
.appendQueryParameter("clientid", clientId);
|
||||
String url = builder.build().toString();
|
||||
|
||||
mWebSocket = new ReconnectingWebSocket(url, this);
|
||||
mWebSocket = new ReconnectingWebSocket(url, this, null);
|
||||
mRequestHandlers = requestHandlers;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user