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

在Line.m文件的drawInContext方法中,貌似有一个内存泄露 #20

Open
XyxXiang opened this issue Oct 26, 2015 · 0 comments
Open

Comments

@XyxXiang
Copy link

    我的项目中使用了你的果冻弹性PageControl控件,今天在用instrument测内存泄露的时候,发现在Line.m中的drawInContext方法里,你生成的linePath有内存泄露。
    而且是在快速滑动的时候会出现Leak,我怀疑是快速滑动过程中,本身自带的回收机制,回收不及时,会造成一丁点的内存泄露。
    我之后在linePath变量使用完之后,加了CGPathRelease和linePath=nil之后,再次测试发现不出现内存泄露了。
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

1 participant