Commit e09e0b6
Fix UserPreferenceService.unbindChatView() thread safety
Wrap the chatViewSideEffect disposal in ensureRealm() to guarantee it
runs on the correct data binding Realm thread, preventing potential
InvalidThreadAccessException when unbinding from a non-UI thread.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c595346 commit e09e0b6
1 file changed
Lines changed: 6 additions & 4 deletions
File tree
- com.microsoft.copilot.eclipse.ui/src/com/microsoft/copilot/eclipse/ui/chat/services
Lines changed: 6 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
510 | 512 | | |
511 | 513 | | |
512 | 514 | | |
| |||
0 commit comments