You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix deadlock in CodeWhispererStatusBarWidget (#4967)
`CodeWhispererStatusBarWidget#getSelectedValue` is called under EDT, but may cause `ProfileWatcher` to be indirectly initialized on the background through `ToolkitConnectionManager#activeConnectionForFeature`. However `ProfileWatcher` requires EDT to initialize correctly since it relies on VFS events to propagate on EDT before it returns
Copy file name to clipboardExpand all lines: plugins/amazonq/codewhisperer/jetbrains-community/src/software/aws/toolkits/jetbrains/services/codewhisperer/status/CodeWhispererStatusBarWidget.kt
// HACK: Force ProfileWatcher to load under EDT so that ToolkitConnectionManager#activeConnectionForFeature does not deadlock while ProfileWatcher#<init>
0 commit comments