Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

播放完视频,导致Activity 内存泄漏 #102

Open
chrisArthas opened this issue Oct 15, 2019 · 0 comments
Open

播放完视频,导致Activity 内存泄漏 #102

chrisArthas opened this issue Oct 15, 2019 · 0 comments

Comments

@chrisArthas
Copy link

device-2019-10-15-105701

Android版本 5.1.1
播放器版本 335_291_009

在一个Activity内播放完视频后退出,leakcanary 报如上内存泄漏

在Activity onDestroy 内 调用如下方法 依旧无效
baseVideoView.setOnPlayerEventListener(null);
baseVideoView.setOnReceiverEventListener(null);
baseVideoView.setEventHandler(null);

BaseVideoView是否能提供一个 在 onDestroy 内调用的 解注册监听的方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants