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

内存飙升真操蛋,释放不掉 #21

Open
liufashi opened this issue Feb 28, 2021 · 1 comment
Open

内存飙升真操蛋,释放不掉 #21

liufashi opened this issue Feb 28, 2021 · 1 comment

Comments

@liufashi
Copy link

No description provided.

@224duan
Copy link

224duan commented Apr 28, 2021

测试发现AVPlayerView 释放不掉。原因是session.delegate 是强引用,所以导致 AVPlayerViewsession 相互引用,无法释放。

session?.finishTasksAndInvalidate()

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

No branches or pull requests

2 participants