()
| 689 | } |
| 690 | |
| 691 | function handleEmergencyStop(): void { |
| 692 | stopStreaming(); |
| 693 | disposeChart(); |
| 694 | clearMetricsDisplay(); |
| 695 | state.totalPointsGenerated = 0; |
| 696 | |
| 697 | // Reset display to show input-based calculation |
| 698 | updateTotalPointsDisplay(); |
| 699 | |
| 700 | showStatus('🚨 Emergency stop activated', 'error'); |
| 701 | showWarningToast('Emergency stop: All operations terminated', 3000); |
| 702 | } |
| 703 | |
| 704 | // ============================================================================ |
| 705 | // UI State Management |
nothing calls this directly
no test coverage detected