Skip to content

Clean up circuits after disconnect #4047

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

Closed
danroth27 opened this issue Nov 16, 2018 · 1 comment
Closed

Clean up circuits after disconnect #4047

danroth27 opened this issue Nov 16, 2018 · 1 comment
Assignees
Labels
area-blazor Includes: Blazor, Razor Components bug This issue describes a behavior which is not expected - a bug. Done This issue has been fixed

Comments

@danroth27
Copy link
Member

No description provided.

@danroth27 danroth27 added bug This issue describes a behavior which is not expected - a bug. area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates labels Nov 16, 2018
@danroth27 danroth27 added this to the 3.0.0-preview2 milestone Nov 16, 2018
@chrdlx
Copy link

chrdlx commented Dec 30, 2018

Right now, the Dispose() method is not called inside the components when you close the browser or connection is lost. So you cannot properly cleanup stuff if needed.
I noted this with a Timer instance in my component, which after the browser was already closed, it kept raising the event Elapsed when debugging.

pranavkm added a commit that referenced this issue Jan 14, 2019
pranavkm added a commit that referenced this issue Jan 15, 2019
pranavkm added a commit that referenced this issue Jan 15, 2019
pranavkm added a commit that referenced this issue Jan 15, 2019
* Dispose components on client disconnects
Fixes #4047
@pranavkm pranavkm added Done This issue has been fixed and removed 2 - Working labels Jan 15, 2019
@danroth27 danroth27 added the area-blazor Includes: Blazor, Razor Components label Feb 13, 2019
@mkArtakMSFT mkArtakMSFT removed area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates labels May 9, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Dec 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-blazor Includes: Blazor, Razor Components bug This issue describes a behavior which is not expected - a bug. Done This issue has been fixed
Projects
None yet
Development

No branches or pull requests

5 participants