-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
core: call every contribution on unload #8863
Conversation
How to test it? |
I thought your explanation in the other PR about theia/packages/core/src/browser/frontend-application.ts Lines 51 to 65 in 9e950a8
|
6a60da7
to
a8d5810
Compare
@kittaakos I added a unit test, thanks for reminding me! |
@colin-grant-work Right, we can either call everyone or not, but it seems to make more sense to call everyone. At least it would be a fair expectation from something called |
a8d5810
to
2933822
Compare
packages/core/src/browser/window/default-window-service.spec.ts
Outdated
Show resolved
Hide resolved
2933822
to
d80d83b
Compare
The current procedure bails early on the first contribution that prevents unloading. This means that other contributions are not notified. This commit makes sure that all contributions are called. Signed-off-by: Paul Maréchal <[email protected]>
d80d83b
to
a9345d8
Compare
The current procedure bails early on the first contribution that
prevents unloading. This means that other contributions are not
notified.
This commit makes sure that all contributions are called.
Signed-off-by: Paul Maréchal [email protected]
How to test
Review checklist
Reminder for reviewers