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 widget is disposed error during shutdown #51

Conversation

Torbjorn-Svensson
Copy link
Member

After building a project and shuting down eclipse, the build console
will have a propertyChange event fired that will attempt to modify the
stream and background color that will trigger a use-after-dispose error
from SWT. This changeset ensures that the action is only taken on
non-disposed widgets.

Contributed by STMicroelectronics

Signed-off-by: Torbjörn Svensson torbjorn.svensson@st.com

After building a project and shuting down eclipse, the build console
will have a propertyChange event fired that will attempt to modify the
stream and background color that will trigger a use-after-dispose error
from SWT. This changeset ensures that the action is only taken on
non-disposed widgets.

Contributed by STMicroelectronics

Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
@Torbjorn-Svensson
Copy link
Member Author

This is a cherry-pick of #48.

@jonahgraham jonahgraham merged commit 5039ad3 into eclipse-cdt:cdt_10_7 Aug 22, 2022
@Torbjorn-Svensson Torbjorn-Svensson deleted the pr/widget-is-disposed-error-during-shutdown_cdt10.7 branch August 23, 2022 07:04
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