Prevent accessing NSView from other threads
kvark opened this issue · 0 comments
kvark commented
See gfx-rs/wgpu-rs#816 (comment)
It's hard to investigate if anybody hits this. We should error out on this if we know that a different thread is trying to access the view. I.e. we'd remember the thread that created a surface, and we'd compare it to the thread that calls configure_swapchain
.