DescriptionDo not open or close IOHIDManager's IOHIDDeviceRefs.
The IOHIDManager object manages the IOHIDDevice instances that it
creates. Calling IOHIDDeviceOpen on such an instance is a no-op and
calling IOHIDDeviceClose prevents the IOHIDManager from tracking the
lifetime of the device. The solution is to never open nor close these
devices.
BUG=413976
Committed: https://crrev.com/7b245aba250436867e5fd4dff77c08b9c5dc1a9d
Cr-Commit-Position: refs/heads/master@{#294735}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add a comment explaining the NULL callback. #
Messages
Total messages: 10 (3 generated)
|