Hi!
My app doing render stuff in separate thread (not main), and when I try to run it with env var CA_ASSERT_MAIN_THREAD_TRANSACTIONS=1 (Xcode Instruments run it like this), I see crash in this line.
If comment out described line application works fine, looks like only setAllowsNextDrawableTimeout message make CA transaction under the hood.
Error happens during creating swapchain through wgpu library.
macOS Big Sur 11.2.3
Crash error:
CoreAnimation: CA_ASSERT_MAIN_THREAD_TRANSACTIONS is set and an implicit transaction wasn't created on a main thread.
Thanks.
Hi!
My app doing render stuff in separate thread (not main), and when I try to run it with env var CA_ASSERT_MAIN_THREAD_TRANSACTIONS=1 (Xcode Instruments run it like this), I see crash in this line.
If comment out described line application works fine, looks like only setAllowsNextDrawableTimeout message make CA transaction under the hood.
Error happens during creating swapchain through wgpu library.
macOS Big Sur 11.2.3
Crash error:
CoreAnimation: CA_ASSERT_MAIN_THREAD_TRANSACTIONS is set and an implicit transaction wasn't created on a main thread.
Thanks.