[6.5.0]自动探查增加资源释放防止内存泄漏

This commit is contained in:
xuxinchao
2024-07-08 14:26:40 +08:00
parent 19bc34e6df
commit 108285f30a

View File

@@ -173,6 +173,8 @@ class AutomaticExplorationView @JvmOverloads constructor(
override fun onDetachedFromWindow() {
super.onDetachedFromWindow()
CallerMsgBoxListenerManager.removeListener(TAG)
showViewTimer?.cancel()
showViewTimer = null
}
/**