Contents

destroy()

Removes underlying allocations and connections from the USB host object.

Declaration

func destroy()

Discussion

When you no longer need the IOUSBHostObject, call destroy(). This method destroys the connection with the kernel object and deregisters interest on io_service_t. Calling destroy() multiple times has no effect.

See Also

Managing the Object Life Cycle