Uh oh!
There was an error while loading. Please reload this page.
Ensure we cleanup the marshalling for elements of collections (stateful and stateless) - #76629
Conversation
ghost
commented
Oct 4, 2022
Tagging subscribers to this area: @dotnet/interop-contrib Issue DetailsWe accidentally lost the element marshalling when moving to the released marshaller design. This PR adds it back with matching logic to the previous marshaller design. Verified manually that we emit the right code for the case in #76584 Fixes #76584 Given the scope of the break that this fixes (memory leaks), I think this is a backport candidate.
|
elinor-fung
commented
Oct 4, 2022
What do you think about adding tests that just validate the |
jkoritzinsky
commented
Oct 4, 2022
I'll try to come up with a test. |
AaronRobinsonMSFT
commented
Oct 4, 2022
Yes, it is. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
AaronRobinsonMSFT
commented
Oct 5, 2022
/backport to release/7.0 |
Started backporting to release/7.0: https://github.com/dotnet/runtime/actions/runs/3193476808 |
We accidentally lost the element marshalling when moving to the released marshaller design. This PR adds it back with matching logic to the previous marshaller design.
Verified manually that we emit the right code for the case in #76584
Fixes#76584
Given the scope of the break that this fixes (memory leaks), I think this is a backport candidate.