Skip to content

impl Drop for host resources in the guest #810

@syntactically

Description

@syntactically

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.

Metadata

Metadata

Assignees

Labels

lifecycle/confirmedBug is verified or proposal seems reasonable

Type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions