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

[wip] revisiting shutdown #2205

Conversation

divagant-martian
Copy link
Contributor

Description

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates if relevant.
  • Tests if relevant.


impl Drop for QuinnSock {
fn drop(&mut self) {
let on_close_sender = self
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you could use a CancelToken for this, avoiding the Option dance

@flub
Copy link
Contributor

flub commented Apr 24, 2024

Looking at this version, what was the blocker for this not working?

@dignifiedquire
Copy link
Contributor

Closing, as we have merged #2227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants