googlesamples / ios-vision

Apache License 2.0
93 stars 40 forks source link

Fix main thread checker warning #15

Open sryze opened 6 years ago

sryze commented 6 years ago

This fixes a warning related to the use of -[UISwitch isOn] on non-main thread:

=================================================================
Main Thread Checker: UI API called on a background thread: -[UISwitch isOn]
PID: 9512, TID: 659771, Thread name: (none), Queue name: com.apple.avfoundation.videodataoutput.bufferqueue, QoS: 0
googlebot commented 6 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


sryze commented 6 years ago

I signed it!

googlebot commented 6 years ago

CLAs look good, thanks!