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

Simplify the handling of shutdowns and fix terminate not waiting for the shutdown to finish #538

Merged
merged 8 commits into from
May 7, 2023

Conversation

tomaka
Copy link
Contributor

@tomaka tomaka commented May 6, 2023

From the point of view of the Instance, the shutdown process now simply consists in stopping the background execution. All the connections remain alive and all the functions still work, and it is just the background execution that stops.

This simplifies the logic of the Rust and of local.ts and remote.ts.

@tomaka tomaka added this pull request to the merge queue May 7, 2023
Merged via the queue into smol-dot:main with commit a65496e May 7, 2023
@tomaka tomaka deleted the fix-shutdown branch May 8, 2023 05:48
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.

1 participant