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
File tree
1 file changed
+1
-0
lines changed- app/src/main/java/com/mapbox/maps/testapp/examples/customlayer/globe
1 file changed
+1
-0
lines changedLines 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