-
Notifications
You must be signed in to change notification settings - Fork 59
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
BSText 会内存泄漏 #13
Comments
感谢提醒,我会排查一下 |
public class func remove(_ target: TextDebugTarget?) {
sharedDebugLock.wait()
sharedDebugTargets.addObject(target)
sharedDebugLock.signal()
} DebugOption的释放部分错误代码引起了内存泄露,remove的时机也有问题。周知。 BSText/BSText/Component/TextDebugOption.swift Line 155 in c73a915
Line 1153 in c73a915
|
好的,感谢 |
我看这个代码确实是有错误,但是应该不会导致内存泄露,因为这个NSPointerArray 里的对象是 Unsafe Unretain 的 |
确实有内存泄漏,是不是别的地方导致的呢?大佬帮忙维护解决一下吧 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: