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

内存泄露 #9

Open
zdkcxy opened this issue May 21, 2020 · 3 comments
Open

内存泄露 #9

zdkcxy opened this issue May 21, 2020 · 3 comments

Comments

@zdkcxy
Copy link

zdkcxy commented May 21, 2020

录屏的时候用内存泄露工具检测的时候会出现内存泄露,希望处理下

@sz8386
Copy link

sz8386 commented Jun 15, 2020

内存泄露解决了吗

@sz8386
Copy link

sz8386 commented Jun 15, 2020

private val mediaProjectionManager by lazy { activity.application.getSystemService(Context.MEDIA_PROJECTION_SERVICE) as? MediaProjectionManager }

这里用 application解决

@zdkcxy
Copy link
Author

zdkcxy commented Dec 7, 2020

好的。处理完了,谢谢

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