-
Notifications
You must be signed in to change notification settings - Fork 209
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
用KSYMediaPlayer播放视频没有立即调用onDestroy方法 #146
Comments
是每次必现吗? |
嗯嗯,是的,我担心对app造成影响所以我就问问是为什么,你们能重现吗,可以打印下什么时候调用的onDestroy |
请问下onDestroy是哪个类的接口呢?Activity? |
对呀Activity最后销毁的时候就会调用onDestroy方法,如果没有调用就说明Activity还存在的, |
你的意思是stop或release接口阻塞了onDestroy的调用吗? |
不是,我的意思是播放视频的时候影响到了,而不是stop的时候。就是点退出的时候,调用finish方法的时候我调用的 |
你在onDestroy里调用了player的stop和release吗? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
你好。android 用 KSYMediaPlayer播放视频在关闭界面的时候调用了stop和release以后onDestroy不立即调用,要隔好几秒钟才调用这个是为什么呢,对app有影响吗?
The text was updated successfully, but these errors were encountered: