mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Apple HID) Don't call IOHIDDeviceClose in removal callback function
This commit is contained in:
parent
9eb2c8725f
commit
935d6a54b8
@ -136,8 +136,6 @@ static void remove_device(void* context, IOReturn result, void* sender)
|
||||
pad_connection_pad_deinit(&slots[connection->slot], connection->slot);
|
||||
free(connection);
|
||||
}
|
||||
|
||||
IOHIDDeviceClose(sender, kIOHIDOptionsTypeSeizeDevice);
|
||||
}
|
||||
|
||||
static void hid_device_report(void* context, IOReturn result, void *sender,
|
||||
|
Loading…
x
Reference in New Issue
Block a user