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
eng: cleanup some leaks around around editors and workbenchInstantiationService #190623
Conversation
Fixes some leaks I found while looking at #190444, by adding ensureNoDisposablesAreLeakedInTestSuite to the suite. I don't have a dev setup for inline chat, so I have not tested this beyond running tests and verifying the fix
…ionService I added a disposable leak tracker to a test that used `workbenchInstantiationService`. This fixes the baseline leaks and some extra leaks with that function.
@connor4312 this is very cool but should probably be reviewed by each respective component owner? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
request changes (or explanation) because of the busy loop in test
src/vs/workbench/contrib/inlineChat/test/browser/inlineChatController.test.ts
Outdated
Show resolved
Hide resolved
cc other owners @joaomoreno @hediet @alexdima @sbatten please let me know if anything you own in this PR looks concerning |
🙅 This needs to be reopened until I had a chance to review. |
This reverts commit 6336ee7.
This reverts commit 6336ee7.
Re-applies #190623 which I merged before everyone had a chance to review. Alex and Ben, you were the two people whose code this touches and didn't review it in the original PR.
* eng: reapply test leak fixes Re-applies #190623 which I merged before everyone had a chance to review. Alex and Ben, you were the two people whose code this touches and didn't review it in the original PR. * 💄 * fix merge * better handling of editor listeners --------- Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
…ionService (microsoft#190623) * inline chat: fix leaks found in testing Fixes some leaks I found while looking at microsoft#190444, by adding ensureNoDisposablesAreLeakedInTestSuite to the suite. I don't have a dev setup for inline chat, so I have not tested this beyond running tests and verifying the fix * eng: cleanup some leaks around around editors and workbenchInstantiationService I added a disposable leak tracker to a test that used `workbenchInstantiationService`. This fixes the baseline leaks and some extra leaks with that function. * fix build * rm too-eager leak checker * remove forgotten busy loop
I added a disposable leak tracker to a test that used
workbenchInstantiationService
.This fixes the baseline leaks and some extra leaks with that function.