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

chore: handle close when runtime is dropped #127

Merged
merged 7 commits into from
Nov 14, 2024
Merged

Conversation

arriqaaq
Copy link
Contributor

@arriqaaq arriqaaq commented Nov 14, 2024

Description

Previously, when a Store was dropped without being explicitly closed (especially during program shutdown),
it could fail with "no reactor running" errors. This change gracefully falls back to creating a temporary runtime if necessary

@arriqaaq arriqaaq requested a review from gsserge November 14, 2024 10:52
@arriqaaq arriqaaq force-pushed the fix/tokio-drop-issue branch from b0327a9 to 51acbcb Compare November 14, 2024 11:20
@arriqaaq arriqaaq merged commit dd01ff5 into main Nov 14, 2024
8 checks passed
@arriqaaq arriqaaq deleted the fix/tokio-drop-issue branch November 14, 2024 14:11
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