Commit 472ba581 by pye52

Merge branch 'develop'

parents 9e2af6b9 f8a64b5d
...@@ -62,6 +62,7 @@ public class SCWebSocketClient extends WebSocketClient { ...@@ -62,6 +62,7 @@ public class SCWebSocketClient extends WebSocketClient {
} }
public static void init(URI serverUri, String deviceSN, Gson gson) { public static void init(URI serverUri, String deviceSN, Gson gson) {
if (instance != null) return;
instance = new SCWebSocketClient(serverUri, deviceSN, gson); instance = new SCWebSocketClient(serverUri, deviceSN, gson);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment