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

dispose listener, don't end early on unrelated error #15506

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

amunger
Copy link
Contributor

@amunger amunger commented Apr 5, 2024

I'm not sure this was actually leaking a listener, but AFAICT, we should still be able to dispose the store in the finally block when we're done listening to display updates.

also fix a bug where an error output from one bg execution could potentially cause another one to return early with an empty result, introduced in #15491.

@amunger amunger requested a review from DonJayamanne April 5, 2024 22:40
@amunger amunger marked this pull request as ready for review April 5, 2024 22:46
@amunger amunger merged commit 7546e40 into main Apr 11, 2024
28 checks passed
@amunger amunger deleted the aamunger/backgroundThread2 branch April 11, 2024 16:30
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