fix(query): reduce retained result memory
This commit is contained in:
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");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user