MCPcopy Index your code
hub / github.com/ChartGPU/ChartGPU / disposeChart

Function disposeChart

examples/worker-rendering/main.ts:419–431  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

417}
418
419function disposeChart(): void {
420 // Clean up performance subscription
421 if (state.performanceUnsubscribe) {
422 state.performanceUnsubscribe();
423 state.performanceUnsubscribe = null;
424 }
425
426 // Dispose chart
427 if (state.chart) {
428 state.chart.dispose();
429 state.chart = null;
430 }
431}
432
433// ============================================================================
434// Performance Metrics Display

Callers 4

handleGenerateFunction · 0.70
handleClearFunction · 0.70
handleEmergencyStopFunction · 0.70
initFunction · 0.70

Calls 1

disposeMethod · 0.65

Tested by

no test coverage detected