From 20d7e81eefbda5fda30759d92f35834b89dd0ba9 Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Mon, 9 Oct 2017 09:09:54 +0200 Subject: [PATCH] Fix a crash when the view has been deallocated, but IKImageView dragging session has not ended yet. --- Classes/PropertyView/SBMovieViewController.m | 1 + 1 file changed, 1 insertion(+) diff --git a/Classes/PropertyView/SBMovieViewController.m b/Classes/PropertyView/SBMovieViewController.m index 7aa7b6d..a3ff4d4 100755 --- a/Classes/PropertyView/SBMovieViewController.m +++ b/Classes/PropertyView/SBMovieViewController.m @@ -115,6 +115,7 @@ static NSArray *_mediaKinds; - (void)dealloc { + _artworksView.draggingDestinationDelegate = nil; [[NSNotificationCenter defaultCenter] removeObserver:self]; }