We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a3ebf5d + bf75573 commit 7fe76e5Copy full SHA for 7fe76e5
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