Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TreeUI should be accessed only from EDT exception #452

Closed
wants to merge 1 commit into from

Conversation

exigow
Copy link
Contributor

@exigow exigow commented Feb 1, 2024

No description provided.

@exigow exigow force-pushed the exigow/fix-treeui-edt branch 2 times, most recently from 5a0f098 to 76986d7 Compare February 1, 2024 11:29
@exigow exigow marked this pull request as ready for review February 1, 2024 11:29
agent.server.configurationDidChange(ConfigUtil.getAgentConfiguration(project))
}
CodyToolWindowContent.executeOnInstanceIfNotDisposed(project) {
CodyToolWindowContent.invokeLaterIfNotDisposed(project) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The kind of does not make sense. We use invoke later to immediately switch to background thread.
Maybe we need two methods.

Copy link
Contributor Author

@exigow exigow Feb 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated after internal discussion.

@exigow
Copy link
Contributor Author

exigow commented Feb 1, 2024

Duplicate of #460

@exigow exigow marked this as a duplicate of #460 Feb 1, 2024
@exigow exigow closed this Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants