Closed avi-c closed 5 years ago
@natalia-osa - Any comments?
Seems fine. But I cannot test it because I still have 100% crashes with the code (from this branch or from master). If you wanted to fix my issue, it doesn't look like the reason.
Here is the description of crash happening for for 100% sessions for us: https://github.com/mapbox/mapbox-scenekit/issues/62#issuecomment-427118577. It's also the reason why we're not up to date with your code.
Are there any updates on this pull request? I was about to put a up a pull request with the same fix, as this fixes one of several crashes happening in my project.
Thanks! That was a really quick response!
Safeguard against concurrency problems. CGContexts are not thread-safe and this caused occasional crashes as tile images were returned and stitched together.