-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Update JSInProcessObjectReference.cs #48287
Conversation
Fix for bug dotnet#48280
Thanks for your PR, @LostBeard. Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
@dotnet-policy-service agree |
Thanks for the contribution, @LostBeard! Would you be able to add a test verifying that |
@MackinnonBuck I am not exactly sure how to do what you are asking. I have created a demonstration project for the bug and the fix in my repo BlazorIJSInProcessObjectReferenceDisposeBugTest Please let me know if that does not satisfy your request. I love Blazor and I am glad to help. |
@LostBeard thanks for verifying your fix 🙂 Apologies for not being clearer - we have some automated end-to-end tests in this repository, and I was thinking a great additional test case would be verifying that Don't worry about adding those tests - I'm happy to do that. Also, there are currently some big changes happening in this area (see #48294), so it might be best that this PR gets finalized after that PR gets merged. For example, I'll keep this PR up to date with whatever changes happen elsewhere. Thanks again for your contribution! |
/backport to release/8.0-preview5 |
Hi @MackinnonBuck. It looks like you just commented on a closed PR. The team will most probably miss it. If you'd like to bring something important up to their attention, consider filing a new issue and add enough details to build context. |
Started backporting to release/8.0-preview5: https://github.com/dotnet/aspnetcore/actions/runs/5125101593 |
Fix for bug #48280 "Exception calling Dispose on IJSInProcessObjectReference instance in Blazor WebAssembly"
Summary of the changes (Less than 80 chars)
Fixed JSImport attribute for call to "DotNet.jsCallDispatcher.disposeJSObjectReferenceById"
Fixes #48280