Skip to content

Commit 70f3faf

Browse files
committed
minor update
1 parent 167a745 commit 70f3faf

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

electron/main/init.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -259,14 +259,6 @@ export async function startBackend(setPort?: (port: number) => void): Promise<an
259259
}
260260
});
261261
}, intervalMs);
262-
263-
// Clear interval after max attempts
264-
setTimeout(() => {
265-
if (healthCheckInterval && !started) {
266-
clearInterval(healthCheckInterval);
267-
healthCheckInterval = null;
268-
}
269-
}, maxAttempts * intervalMs);
270262
};
271263

272264
node_process.stdout.on('data', (data) => {

0 commit comments

Comments
 (0)