Fix a crash when the view has been deallocated, but IKImageView dragging session has not ended yet.
This commit is contained in:
1 file changed
+1
@@ -115,6 +115,7 @@ static NSArray<NSArray *> *_mediaKinds;
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
_artworksView.draggingDestinationDelegate = nil;
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user