hyperlight-dev / hyperlight-dev/hyperlight
`impl Drop` for host resources in the guest
Aperta
lifecycle/confirmed
- Lingua principale
- Rust
- Stelle
- 4.7k
- Fork
- 208
- Merge medio
- 1g 7h
- PR unite (30g)
- 47
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.