Commit 1fd6d96
guard GlobeCustomLayerHost.deinitialize() against uninitialized state
deinitialize() can be called without initialize() when using the
Vulkan backend since custom layers are not supported. Check
lateinit property before accessing to prevent crash.
GitOrigin-RevId: e1f9867645af1196aa40ce0099e0343fbe702f471 parent 0db2666 commit 1fd6d96
1 file changed
Lines changed: 1 addition & 0 deletions
File tree
- app/src/main/java/com/mapbox/maps/testapp/examples/customlayer/globe
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
389 | 389 | | |
390 | 390 | | |
391 | 391 | | |
| 392 | + | |
392 | 393 | | |
393 | 394 | | |
394 | 395 | | |
| |||
0 commit comments