aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa/ScintillaView.mm
diff options
context:
space:
mode:
authorChinh Nguyen <unknown>2016-12-08 10:41:53 +1100
committerChinh Nguyen <unknown>2016-12-08 10:41:53 +1100
commitcebe1d64e750ee7f6f53406380436936bdd43fe0 (patch)
tree78674f015bd339a86ca90b8cd6cf1b186e42ca80 /cocoa/ScintillaView.mm
parentef79d4c79ed79404cd6160d0f9c559488baaba74 (diff)
downloadscintilla-mirror-cebe1d64e750ee7f6f53406380436936bdd43fe0.tar.gz
Bug [#1891]. Fix crash on view destruction with macOS 10.12.2.
Diffstat (limited to 'cocoa/ScintillaView.mm')
-rw-r--r--cocoa/ScintillaView.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm
index ab0c4375b..cdb71ae55 100644
--- a/cocoa/ScintillaView.mm
+++ b/cocoa/ScintillaView.mm
@@ -1545,6 +1545,7 @@ sourceOperationMaskForDraggingContext: (NSDraggingContext) context
delete mBackend;
mBackend = NULL;
mContent.owner = nil;
+ [marginView setClientView:nil];
[scrollView removeFromSuperview];
[marginView release];
[super dealloc];