|
@@ -2421,12 +2421,9 @@ private extension ViewController {
|
|
2421
|
aiCompanionSpeechTextByView.removeAll()
|
2421
|
aiCompanionSpeechTextByView.removeAll()
|
|
2422
|
aiCompanionTranscriptMeetingIdByView.removeAll()
|
2422
|
aiCompanionTranscriptMeetingIdByView.removeAll()
|
|
2423
|
aiCompanionTranscriptStatusLabelByView.removeAll()
|
2423
|
aiCompanionTranscriptStatusLabelByView.removeAll()
|
|
2424
|
- aiCompanionTranscriptTaskByMeetingId.values.forEach { $0.cancel() }
|
|
|
|
2425
|
- aiCompanionTranscriptTaskByMeetingId.removeAll()
|
|
|
|
2426
|
- aiCompanionTranscriptCurrentRequestId = nil
|
|
|
|
2427
|
- aiCompanionTranscriptWindow?.close()
|
|
|
|
2428
|
- aiCompanionTranscriptWindow = nil
|
|
|
|
2429
|
- aiCompanionTranscriptTextView = nil
|
|
|
|
|
|
2424
|
+ // Keep transcript requests and window state alive across AI Companion page rebuilds.
|
|
|
|
2425
|
+ // The page is rebuilt while processing starts/completes, and cancelling here interrupts
|
|
|
|
2426
|
+ // the active request before it can update the transcript view.
|
|
2430
|
|
2427
|
|
|
2431
|
let panel = NSView()
|
2428
|
let panel = NSView()
|
|
2432
|
panel.translatesAutoresizingMaskIntoConstraints = false
|
2429
|
panel.translatesAutoresizingMaskIntoConstraints = false
|