Skip to main content

destroy_instance

Function destroy_instance 

Source
pub unsafe fn destroy_instance(
    instance: Instance,
    allocator: Option<&AllocationCallbacks>,
)
Expand description

Destroy once, using callbacks compatible with instance creation.

ยงSafety

All children and outstanding instance operations must be complete. The allocator must match creation, with its user data and functions still live.