Merge remote-tracking branch 'origin/dev_robotaxi-d_231031_6.2.0' into dev_robotaxi-d_231031_6.2.0

This commit is contained in:
xuxinchao
2023-11-21 16:44:12 +08:00

View File

@@ -43,6 +43,8 @@ internal class AccessSyntheticUtils {
private val fields = ConcurrentHashMap<String, WeakReference<Any>>()
private val observers = ConcurrentSet<String>()
// true: 代表要执行原来的run方法体
// false: 代表不执行原来的run方法体
@JvmStatic
fun isTargetAlive(obj: Any): Boolean {
try {
@@ -118,9 +120,7 @@ internal class AccessSyntheticUtils {
}
ret
} ?: true
} catch (t: Throwable) {
t.printStackTrace()
}
} catch (ignore: Throwable) { }
return true
}