diff --git a/src/main/background/kernel.ts b/src/main/background/kernel.ts index 948782a..3f70061 100644 --- a/src/main/background/kernel.ts +++ b/src/main/background/kernel.ts @@ -66,7 +66,7 @@ export function handleKernelMessage(event: MessageEvent) { } catch {} } - if (data.logoutComplete === true) { + if (getAuthStatus().logoutComplete) { console.log("received logout signal, clearing all ports"); for (let [, port] of Object.entries(getOpenPorts())) {