[6.1.0]fix bug of close screen to operate null map instance
This commit is contained in:
@@ -47,6 +47,7 @@ class MogoMap private constructor() {
|
||||
|
||||
fun clear(instance: String = DEFAULT) {
|
||||
if (mapCache.containsKey(instance)) {
|
||||
mapCache[instance]?.uiController?.destroy()
|
||||
mapCache.remove(instance)
|
||||
} else {
|
||||
CallerLogger.e(
|
||||
|
||||
Reference in New Issue
Block a user