destruct(guard:sendRightDelta:)
Destructs the port.
func destruct(guard: mach_port_context_t = mach_port_context_t(), sendRightDelta: mach_port_delta_t) throws
Parameters
- guard
The context to unguard the port with.
- sendRightDelta
The delta to apply to the send right user reference count.
Throws
If the port cannot be destructed.