-
Notifications
You must be signed in to change notification settings - Fork 227
Dispose activity management during shutdown completely and early #1084 #1086
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
Dispose activity management during shutdown completely and early #1084 #1086
Conversation
Test Results 854 files - 1 854 suites - 1 1h 38m 40s ⏱️ - 15m 59s For more details on these failures, see this check. Results for commit 7a945f5. ± Comparison against base commit 6683f3f. ♻️ This comment has been updated with latest results. |
ec9d448
to
6d2ae4a
Compare
...ipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/AbstractActivityManager.java
Outdated
Show resolved
Hide resolved
...ipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/AbstractActivityManager.java
Outdated
Show resolved
Hide resolved
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/Workbench.java
Outdated
Show resolved
Hide resolved
...lipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/activities/MutableActivityManager.java
Outdated
Show resolved
Hide resolved
ada4186
to
26964bb
Compare
26964bb
to
b3434db
Compare
b3434db
to
f818ddc
Compare
@HeikoKlare can this be merged? |
Yes, it's ready to merge. I've only been waiting for the end of the M1 freeze period. |
Master is open now, so please merge after the verification build. |
…pse-platform#1084 The WorkbenchActivitySupport is currently disabled quite late during workbench shutdown. In particular, it is performed after the service locator disposal, which produces several events for the disablement of expression-controlled activities that are processed by the activity management. Since the activity management is shut down afterwards anyway, the processing of these events is unnecessary. This change ensures that activities enablement changes are not unnecessarily processed during workbench shutdown. It consists of two parts: 1. It performs the disposal of activity management and its persistence handler early in the workbench shutdown process (in particular before the service locator disposal). 2. It adds proper dispose functionality for the IActivityManager, such that disposing the workbench activity support disposes the activity manager, which then removes all its listeners to not react to further events. Contributes to eclipse-platform#1084.
f818ddc
to
7a945f5
Compare
The
WorkbenchActivitySupport
is currently disabled quite late during workbench shutdown. In particular, it is performed after the service locator disposal, which produces several events for the disablement of expression-controlled activities that are processed by the activity management. Since the activity management is shut down afterwards anyway, the processing of these events is unnecessary.This change ensures that activities enablement changes are not unnecessarily processed during workbench shutdown. It consists of two parts:
Contributes to #1084.