bytecodealliance / bytecodealliance/componentize-dotnet
Imported Resources don't provide a finalizer
Offen
- Vorherrschende Sprache
- C#
- Sterne
- 147
- Forks
- 18
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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:
````xml
````
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.