修复 #710039 java.util.ConcurrentModificationException
https://bugly.qq.com/v2/crash-reporting/crashes/f3f8b0b2f1?pid=1 Signed-off-by: donghongyu <donghongyu@zhidaoauto.com>
This commit is contained in:
@@ -6,6 +6,7 @@ import com.mogo.eagle.core.data.autopilot.AutopilotRouteInfo
|
||||
import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotPlanningListener
|
||||
import com.mogo.eagle.core.function.call.base.CallerBase
|
||||
import com.mogo.eagle.core.utilcode.mogo.logger.Logger
|
||||
import java.util.concurrent.ConcurrentHashMap
|
||||
|
||||
/**
|
||||
* @author xiaoyuzhou
|
||||
@@ -16,8 +17,8 @@ object CallerAutopilotPlanningListenerManager : CallerBase() {
|
||||
private val TAG = "CallerAutopilotPlanningListenerManager"
|
||||
|
||||
// 存储所有注册了监听的对象,invokeXXXX进行遍历回调,将信息同步
|
||||
private val M_AUTOPILOT_PLANNING_LISTENER: HashMap<String, IMoGoAutopilotPlanningListener> =
|
||||
HashMap()
|
||||
private val M_AUTOPILOT_PLANNING_LISTENER: ConcurrentHashMap<String, IMoGoAutopilotPlanningListener> =
|
||||
ConcurrentHashMap()
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user