-
Notifications
You must be signed in to change notification settings - Fork 519
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
New Blocks marshalling in 8.0 sometimes fails with ArgumentException #18161
Labels
bug
If an issue is a bug or a pull request a bug fix
regression
The issue or pull request is a regression
Milestone
Comments
rolfbjarne
added a commit
to rolfbjarne/xamarin-macios
that referenced
this issue
May 15, 2023
…Fixes dotnet#18161. We can be asked to keep the same block+delegate pair alive multiple times, so add support for keeping track how many times a block must be freed once the corresponding delegate is collected by the GC. Fixes dotnet#18161.
/sudo backport release/7.0.2xx-xcode14.3 |
vs-mobiletools-engineering-service2
pushed a commit
to vs-mobiletools-engineering-service2/xamarin-macios
that referenced
this issue
May 19, 2023
…Fixes dotnet#18161. We can be asked to keep the same block+delegate pair alive multiple times, so add support for keeping track how many times a block must be freed once the corresponding delegate is collected by the GC. Fixes dotnet#18161.
I found this ticket via googling, I have the same error in my own WKNavigationDelegate using Xcode 14.3 and Xamarin.iOS 16.4.0.6. It seems like this is a regression - what package/tool/update am I waiting on to get this fix? |
@pdonovan You can use this workaround: #18302 (comment) |
dalexsoto
pushed a commit
that referenced
this issue
May 24, 2023
…e block alive multiple times. Fixes #18161. (#18303) We can be asked to keep the same block+delegate pair alive multiple times, so add support for keeping track how many times a block must be freed once the corresponding delegate is collected by the GC. Fixes #18161. Backport of #18277 Co-authored-by: Rolf Bjarne Kvinge <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bug
If an issue is a bug or a pull request a bug fix
regression
The issue or pull request is a regression
The code in question:
The text was updated successfully, but these errors were encountered: