fix: prevent session restore snapshot loss

This commit is contained in:
Zheng Liu committed 2026-06-17 23:41:29 +08:00
1 parent 04906a80ff
commit 93079bb576
11 files changed
+120 -18

No files matched your search

+1 -1
View File
@@ -128,7 +128,7 @@ const TrayPanelContent: React.FC<TrayPanelContentProps> = ({ terminalSettings })
} = useTrayPanelBackend();
const { hosts, keys, identities, proxyProfiles, groupConfigs } = useVaultState();
useSessionState();
useSessionState({ persistSessionRestore: false });
const { rules: portForwardingRules, startTunnel, stopTunnel } = usePortForwardingState();
const activeTabId = useActiveTabId();
const proxyProfileIdSet = useMemo(