Commit a9c716f
committed
Stop chat when editor is closed
Add a listener for EditorManager::editorAboutToClose that calls
onStopRequested() when the current ChatEditor instance is being closed.
This ensures the chat session stops cleanly when the editor window is
closed, preventing a crash upon receiving data.1 parent 9544d79 commit a9c716f
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
188 | 196 | | |
189 | 197 | | |
190 | 198 | | |
| |||
0 commit comments