-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
lib: clean up persisted signals when they are settled #56001
base: main
Are you sure you want to change the base?
Conversation
bd8fe65
to
e152212
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #56001 +/- ##
=======================================
Coverage 87.95% 87.96%
=======================================
Files 656 656
Lines 188310 188325 +15
Branches 35963 35975 +12
=======================================
+ Hits 165630 165657 +27
+ Misses 15854 15842 -12
Partials 6826 6826
|
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.
Not blocking, but looks like this fixed the repro reported by the OP, but not the one mentioned at #55328 (comment)
Refs #55328
Fixes #55328
This PR adds a finalizer to the non-composed signals used in
AbortSignal.any
. With that finalizer, those settled signals can be removed fromgcPersistentSignals
.Comparison
This comparison shows that settled signals are being collected.