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

fix(runtime): poll & drop with the correct runtime #344

Closed
wants to merge 2 commits into from

Conversation

Berrysoft
Copy link
Member

The OpFuture and TimerFuture keeps a strong ref to the driver/runtime to avoid getting wrong runtimes. However, it seems that the runnable queue should be wrapped with Rc instead of Box to avoid a case that OpFuture outlive Runtime.

@Berrysoft Berrysoft added bug Something isn't working package: runtime Related to compio-runtime labels Nov 23, 2024
@Berrysoft Berrysoft self-assigned this Nov 23, 2024
@Berrysoft
Copy link
Member Author

Close in favor of #350

@Berrysoft Berrysoft closed this Nov 25, 2024
@Berrysoft Berrysoft deleted the fix/fut-drop-cancel branch November 25, 2024 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package: runtime Related to compio-runtime
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant