mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 22:33:50 +02:00
Some memory fixes
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<template>
|
||||
<div class="data-table-wrapper">
|
||||
<el-table
|
||||
ref="tableRef"
|
||||
v-loading="loading"
|
||||
:data="paginatedData"
|
||||
v-bind="mergedTableProps"
|
||||
|
||||
@@ -258,6 +258,10 @@
|
||||
resizeObserver.value.disconnect();
|
||||
resizeObserver.value = null;
|
||||
}
|
||||
if (echartsInstance.value) {
|
||||
echartsInstance.value.dispose();
|
||||
echartsInstance.value = null;
|
||||
}
|
||||
});
|
||||
|
||||
reloadData = async function () {
|
||||
|
||||
@@ -95,6 +95,10 @@
|
||||
resizeObserver.value.disconnect();
|
||||
resizeObserver.value = null;
|
||||
}
|
||||
if (echartsInstance.value) {
|
||||
echartsInstance.value.dispose();
|
||||
echartsInstance.value = null;
|
||||
}
|
||||
});
|
||||
|
||||
function initResizeObserver() {
|
||||
|
||||
Reference in New Issue
Block a user