hyperlight-dev / hyperlight-dev/hyperlight
Allow host mappings to have destructors
Open
area/performance
lifecycle/confirmed
- Dominant language
- Rust
- Stars
- 4.7k
- Forks
- 208
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 47
Description
We should provide some support for ensuring that when host mapping objects are no longer needed, they have a chance to run a destructor. This is particularly important as, currently, `map_file_cow` has no way to ensure that its mappings are cleaned up, so it leaks a bit of virtual memory whenever it is run.
Contributor guide
Assessment
This issue has not been assessed yet.