Open
Description
Currently, projections for imported resources implement IDisposable
, but they do not provide a finalizer
. This means that if the user forgets to manually dispose the resource, its [resource-drop]
function is never called.
I believe this is incorrect, and the resource should provide a finalizer that calls the resource's [resource-drop]
function.
Version:
<PackageReference Include="BytecodeAlliance.Componentize.DotNet.Wasm.SDK" Version="0.4.0-preview00007" />
Metadata
Metadata
Assignees
Labels
No labels