fix remote console on linux and mac showing connecting status while still working
This commit is contained in:
@@ -272,7 +272,6 @@ export function handleConsoleViewerOpen(ws: ServerWebSocket<SocketData>) {
|
|||||||
safeSendViewer(ws, { type: "status", status: "offline", reason: "Client is offline", sessionId: effectiveSessionId });
|
safeSendViewer(ws, { type: "status", status: "offline", reason: "Client is offline", sessionId: effectiveSessionId });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
safeSendViewer(ws, { type: "status", status: "connecting", sessionId: effectiveSessionId });
|
|
||||||
startConsoleForViewer(target, effectiveSessionId);
|
startConsoleForViewer(target, effectiveSessionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user