Skip to content

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

Merged
BrzVlad merged 1 commit intodotnet:mainfrom
BrzVlad:fix-invoke-api-regression
Dec 13, 2022
Merged

[mono] Fix passing of NULL via mono_runtime_invoke to method expecting nullable#79597
BrzVlad merged 1 commit intodotnet:mainfrom
BrzVlad:fix-invoke-api-regression

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