Fix memory leaks from Cytoscape instances not returned/destroyed

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-09 20:53:25 +08:00
parent 9aa60414e7
commit f04da6e278
4 changed files with 25 additions and 6 deletions

View File

@@ -112,4 +112,5 @@ export default function cytoscapeMapTrace(nodes, edges, graphId) {
tip?.destroy();
tip = null;
});
return cy;
}