Fix use-after-free bug in reactor shutdown#127
Fix use-after-free bug in reactor shutdown#127mvandeberg merged 1 commit intocppalliance:developfrom
Conversation
📝 WalkthroughWalkthroughThe PR defers clearing of acceptor and socket pointer maps during shutdown across epoll, kqueue, and select backends, leaving those shared_ptrs to be released by the state destructor after the scheduler drains queued operations. descriptor_state::destroy() is implemented to reset impl_ref_ to break self-referential cycles during shutdown. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
An automated preview of the documentation is available at https://127.corosio.prtest3.cppalliance.org/index.html If more commits are pushed to the pull request, the docs will rebuild at the same URL. 2026-02-11 17:55:56 UTC |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #127 +/- ##
===========================================
- Coverage 80.13% 80.12% -0.02%
===========================================
Files 65 65
Lines 5639 5635 -4
===========================================
- Hits 4519 4515 -4
Misses 1120 1120
Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
|
GCOVR code coverage report https://127.corosio.prtest3.cppalliance.org/gcovr/index.html Build time: 2026-02-11 17:59:20 UTC |
f53faa2 to
d926dc3
Compare
Summary by CodeRabbit