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

如何释放掉scene.layer()的内存? #242

Open
dlyt opened this issue May 25, 2021 · 1 comment
Open

如何释放掉scene.layer()的内存? #242

dlyt opened this issue May 25, 2021 · 1 comment

Comments

@dlyt
Copy link

dlyt commented May 25, 2021

起的egg的服务,接口中只是创建了 layer 然后占着内存,不释放; 把 scene = null 也释放不下来。

所以,请问有什么方法能释放掉这部分内存么?

@akira-cn akira-cn added the bug label May 25, 2021
@akira-cn
Copy link
Contributor

在scene中将layer都remove掉的话,应该能释放内存

@akira-cn akira-cn added enhancement and removed bug labels Jun 15, 2021
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