We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Cannot set property 'socket' of null
1 parent a3ebf5d commit bf75573Copy full SHA for bf75573
lib/services/livesync/android-livesync-tool.ts
@@ -313,6 +313,10 @@ export class AndroidLivesyncTool implements IAndroidLivesyncTool {
313
const connectionTimer = setTimeout(() => {
314
if (!isConnected) {
315
isConnected = true;
316
+ if (this.pendingConnectionData && this.pendingConnectionData.socketTimer) {
317
+ clearTimeout(this.pendingConnectionData.socketTimer);
318
+ }
319
+
320
reject(lastKnownError || new Error("Socket connection timeouted."));
321
this.pendingConnectionData = null;
322
}
0 commit comments