We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
泄漏地方: HYBLoopScrollView类中的 ,configTimer方法中的
CFRunLoopTimerRef timer = CFRunLoopTimerCreateWithHandler(kCFAllocatorDefault, CFAbsoluteTimeGetCurrent() + _timeInterval, _timeInterval, 0, 0, ^(CFRunLoopTimerRef timer) { [weakSelf autoScroll]; });
self.timer = timer; CFRunLoopAddTimer(CFRunLoopGetCurrent(), timer, kCFRunLoopCommonModes);
请作者有空看看
The text was updated successfully, but these errors were encountered:
好吧,并没有内存泄漏,而是因为我用了个单例viewModel去持有了轮播图导致没法释放...我的锅,错怪作者了
Sorry, something went wrong.
No branches or pull requests
泄漏地方:
HYBLoopScrollView类中的 ,configTimer方法中的
CFRunLoopTimerRef timer = CFRunLoopTimerCreateWithHandler(kCFAllocatorDefault, CFAbsoluteTimeGetCurrent() + _timeInterval, _timeInterval, 0, 0, ^(CFRunLoopTimerRef timer) {
[weakSelf autoScroll];
});
self.timer = timer;
CFRunLoopAddTimer(CFRunLoopGetCurrent(), timer, kCFRunLoopCommonModes);
请作者有空看看
The text was updated successfully, but these errors were encountered: