Avoid races
This commit is contained in:
parent
2854578527
commit
7e124e169e
@ -703,6 +703,7 @@ typedef struct __attribute__((packed)) {
|
||||
_forceStopPWMThread = true;
|
||||
}
|
||||
[_rumblePWMThreadLock unlock];
|
||||
while (_rumblePWMThreadRunning);
|
||||
}
|
||||
|
||||
+ (void)controllerAdded:(IOHIDDeviceRef) device
|
||||
|
Loading…
Reference in New Issue
Block a user