Skip to content

[mono] Fix passing of NULL via mono_runtime_invoke to method expecting nullable #79597

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

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

BrzVlad
Copy link
Member

@BrzVlad BrzVlad commented Dec 13, 2022

The code was always trying to unbox the boxed vt, not accounting for NULL.

Fixes embedding api regression following #72717

…g nullable

The code was always trying to unbox the boxed vt, not accounting for NULL.
@ghost ghost added the area-VM-meta-mono label Dec 13, 2022
@ghost ghost assigned BrzVlad Dec 13, 2022
@BrzVlad
Copy link
Member Author

BrzVlad commented Dec 13, 2022

@rolfbjarne

@BrzVlad BrzVlad merged commit 4efdaf5 into dotnet:main Dec 13, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jan 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants