Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TipJarViewController - Tableview.reloadData() called on main thread #9

Open
chaseacton opened this issue Sep 24, 2019 · 0 comments
Open

Comments

@chaseacton
Copy link

chaseacton commented Sep 24, 2019

Seeing this in the latest version of TipJarViewController.

This is happening in the productsRequest(_ request: SKProductsRequest, didReceive response: SKProductsResponse) function in TipJarViewController.

Main Thread Checker: UI API called on a background thread: -[UITableView reloadData] PID: 8441, TID: 2593234, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 TipJarViewController 0x0000000105b19418 $s20TipJarViewControllerAAC15productsRequest_10didReceiveySo010SKProductsF0C_So0I8ResponseCtF + 1184 5 TipJarViewController 0x0000000105b19748 $s20TipJarViewControllerAAC15productsRequest_10didReceiveySo010SKProductsF0C_So0I8ResponseCtFTo + 100 6 StoreKit 0x00000001bf55b858 0F0A30BF-E9E6-3199-BEBB-26402D218695 + 75864 7 libdispatch.dylib 0x0000000105bcde48 _dispatch_call_block_and_release + 32 8 libdispatch.dylib 0x0000000105bcf2a8 _dispatch_client_callout + 20 9 libdispatch.dylib 0x0000000105bd1b1c _dispatch_queue_override_invoke + 924 10 libdispatch.dylib 0x0000000105be0aac _dispatch_root_queue_drain + 356 11 libdispatch.dylib 0x0000000105be1418 _dispatch_worker_thread2 + 144 12 libsystem_pthread.dylib 0x00000001b05dea60 _pthread_wqthread + 216 13 libsystem_pthread.dylib 0x00000001b05e4c78 start_wqthread + 8 2019-09-24 07:07:05.877766-0700 Karl[8441:2593234] [reports] Main Thread Checker: UI API called on a background thread: -[UITableView reloadData] PID: 8441, TID: 2593234, Thread name: (none), Queue name: com.apple.root.default-qos, QoS: 0 Backtrace: 4 TipJarViewController 0x0000000105b19418 $s20TipJarViewControllerAAC15productsRequest_10didReceiveySo010SKProductsF0C_So0I8ResponseCtF + 1184 5 TipJarViewController 0x0000000105b19748 $s20TipJarViewControllerAAC15productsRequest_10didReceiveySo010SKProductsF0C_So0I8ResponseCtFTo + 100 6 StoreKit 0x00000001bf55b858 0F0A30BF-E9E6-3199-BEBB-26402D218695 + 75864 7 libdispatch.dylib 0x0000000105bcde48 _dispatch_call_block_and_release + 32 8 libdispatch.dylib 0x0000000105bcf2a8 _dispatch_client_callout + 20 9 libdispatch.dylib 0x0000000105bd1b1c _dispatch_queue_override_invoke + 924 10 libdispatch.dylib 0x0000000105be0aac _dispatch_root_queue_drain + 356 11 libdispatch.dylib 0x0000000105be1418 _dispatch_worker_thread2 + 144 12 libsystem_pthread.dylib 0x00000001b05dea60 _pthread_wqthread + 216 13 libsystem_pthread.dylib 0x00000001b05e4c78 start_wqthread + 8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant