Andrew Molloy
|
f5839f854a
|
Fix whitespace in and around WiimoteScannerDarwin::~WiimoteScannerDarwin() (linter).
|
2017-12-03 12:31:18 -05:00 |
|
Andrew Molloy
|
8354e89cf1
|
Break out of the loop waiting for the SearchBT to be done in WiimoteScannerDarwin::FindWiimotes() when the object is destroyed. Allows the application to quit correctly when Continuous Scanning is enabled on macOS.
|
2017-12-03 11:41:06 -05:00 |
|
Andrew Molloy
|
d306397bbc
|
-[deviceInquiryComplete:error:aborted:] comes in on the main thread in macOS 10.13, so instead of using CFRunLoopRun()/CFRunLoopStop(), just let the run loop do one pass. This is already in a loop waiting for done to be false. This also means -[deviceInquiryComplete:error:aborted:] should no longer call CFRunLoopStop(). Fixes connecting to Wiimotes in macOS 10.13+, should continue to work as before in 10.12 and below.
|
2017-12-03 10:32:07 -05:00 |
|