hyperlight-dev / hyperlight-dev/hyperlight

`impl Drop` for host resources in the guest

未关闭
#810 1 条评论 0 个 reaction 已指派 1 人 已被 @syntactically 认领 在 GitHub 查看
lifecycle/confirmed
主要语言
Rust
星标
4.7k
派生
208
平均合并
1 天 7 小时
30 天内合并 PR
47

描述

The types that hold host resource handles in the guest don't currently have an appropriate `impl Drop`, so they can be leaked if ownership is not passed back to the host by another host or guest call. We should make sure that when a resource handle to a host resource is dropped in the guest, a hostcall is made to drop it in the host.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。