fix(query): reduce retained result memory

This commit is contained in:
SuLea-IT authored and GitHub committed 2026-07-10 18:15:25 +08:00
1 parent 2f3d1de46a
commit 68cfb5af5c
5 files changed
+292 -17

No files matched your search

@@ -776,9 +776,9 @@ function toggleExecutionSummary() {
emit("update:activeOutputView", nextExecutionSummaryView(props.activeOutputView, canShowResultOutput.value));
}
function removeResultRun(runId: string) {
async function removeResultRun(runId: string) {
const removedActiveRun = props.activeTab.activeResultRunId === runId;
const removed = queryStore.removeResultRun(props.activeTab.id, runId);
const removed = await queryStore.removeResultRun(props.activeTab.id, runId);
if (removed && removedActiveRun) emit("update:activeOutputView", "result");
}