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: close HotChannel on environment close #18206

Merged

Conversation

sapphi-red
Copy link
Member

Description

HotChannel::close was not called, but I guess this should be called on environment close.

The first commit looks better but to avoid a breaking change (ws.close will no longer actually close wss) I made the second commit 😢

Copy link

stackblitz bot commented Sep 27, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@sapphi-red sapphi-red added p3-minor-bug An edge case that only affects very specific usage (priority) feat: environment API Vite Environment API labels Sep 27, 2024
@patak-dev patak-dev merged commit 2d148e3 into vitejs:main Sep 27, 2024
12 checks passed
@sapphi-red sapphi-red deleted the fix/close-hot-channel-on-environment-close branch September 27, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat: environment API Vite Environment API p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants