mirror of
https://github.com/zhigang1992/NoticeView.git
synced 2026-01-12 22:49:15 +08:00
Merge pull request #4 from kolyvan/master
Fixed a leak of self.noticeView [kolyvan]
This commit is contained in:
@@ -261,6 +261,7 @@
|
||||
} completion:^ (BOOL finished) {
|
||||
if (finished) {
|
||||
// Cleanup
|
||||
[self.noticeView removeFromSuperview];
|
||||
self.noticeView = nil;
|
||||
self.imageView = nil;
|
||||
self.titleLabel = nil;
|
||||
|
||||
Reference in New Issue
Block a user