You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
frame Untitled #1: 0x0000000102836570 TangGuoApp-[DTLazyImageView _notifyDelegate](self=0x0000000105fbfd60, _cmd="_notifyDelegate") at DTLazyImageView.m:229:12 frame #2: 0x0000000102836768 TangGuoApp-[DTLazyImageView completeDownloadWithData:](self=0x0000000105fbfd60, _cmd="completeDownloadWithData:", data=540578 bytes) at DTLazyImageView.m:242:2
frame Add HTML entity support #3: 0x00000001a2abaf94 Foundation`__NSThreadPerformPerform + 188
frame Proper shifting of baseline for SUB and SUP #4: 0x00000001a2630d14
The text was updated successfully, but these errors were encountered:
Looks to me you are building for a very old deployment target. If you don't use zeroing weak references, then you need to nil them yourself when the instances are deallocated.
DTLazyImageView:
{
if ([self.delegate respondsToSelector:@selector(lazyImageView:didChangeImageSize:)]) {
[self.delegate lazyImageView:self didChangeImageSize:CGSizeMake(_fullWidth, _fullHeight)];
}
}
when DTLazyImageView.delegtate is dealloc but DTLazyImageView.delegate is not nil,
#define DT_WEAK_PROPERTY assign
This is the reason, but how to solve it
frame #0: 0x00000001a23e5ca0 libobjc.A.dylib`objc_retain + 16
-[DTLazyImageView _notifyDelegate](self=0x0000000105fbfd60, _cmd="_notifyDelegate") at DTLazyImageView.m:229:12 frame #2: 0x0000000102836768 TangGuoApp
-[DTLazyImageView completeDownloadWithData:](self=0x0000000105fbfd60, _cmd="completeDownloadWithData:", data=540578 bytes) at DTLazyImageView.m:242:2frame Add HTML entity support #3: 0x00000001a2abaf94 Foundation`__NSThreadPerformPerform + 188
frame Proper shifting of baseline for SUB and SUP #4: 0x00000001a2630d14
The text was updated successfully, but these errors were encountered: