You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
The following steps reproduce this error reasonably consistently.
Flick to start an animated scroll.
Switch/Push a new UIViewController.
Tap on back button before scroll finishes.
It doesn't happen if one lets the scroll finish before pressing back button. Is the error happening because:
Map thread is still animating (doing gl Calls)
UI Thread calling renderbufferStorageFromDrawable on a context which is in use in a different thread (map Thread).
If this is correct, then its a more fundamental problem that can cause random crashes since MGLMapView has no control on when the setNeedsDisplay will be called in the UIView hierarchy where MGLMapView is embedded. Everytime the code path that triggers [GLKView _display:] -> ...[GLKView _createFramebuffer] is triggered when mapThread is animating will cause a crash.
Throw a static snapshot up for the app switcher. Hope you didn’t plan on moving markers around while the app is in the background.
Fixes#1050, #1186, #1203, #1243.
The following steps reproduce this error reasonably consistently.
It doesn't happen if one lets the scroll finish before pressing back button. Is the error happening because:
If this is correct, then its a more fundamental problem that can cause random crashes since MGLMapView has no control on when the setNeedsDisplay will be called in the UIView hierarchy where MGLMapView is embedded. Everytime the code path that triggers [GLKView _display:] -> ...[GLKView _createFramebuffer] is triggered when mapThread is animating will cause a crash.
The text was updated successfully, but these errors were encountered: