mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-16 11:08:54 +00:00
happenes -> happens
This commit is contained in:
parent
9e7dfa3e61
commit
1eeeab0755
1 changed files with 1 additions and 1 deletions
|
|
@ -1424,7 +1424,7 @@ void HID_API_EXPORT hid_close(hid_device *dev)
|
|||
|
||||
UPD: The crash part was true in/until some version of macOS.
|
||||
Starting with macOS 10.15, there is an opposite effect in some environments:
|
||||
crash happenes if IOHIDDeviceClose() is not called.
|
||||
crash happens if IOHIDDeviceClose() is not called.
|
||||
Not leaking a resource in all tested environments.
|
||||
*/
|
||||
if (is_macos_10_10_or_greater || !dev->disconnected) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue