aboutsummaryrefslogtreecommitdiffhomepage
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
parentef79d4c79ed79404cd6160d0f9c559488baaba74 (diff)
downloadscintilla-mirror-cebe1d64e750ee7f6f53406380436936bdd43fe0.tar.gz
Bug [#1891]. Fix crash on view destruction with macOS 10.12.2.
-rw-r--r--cocoa/ScintillaView.mm1
-rw-r--r--doc/ScintillaHistory.html4
2 files changed, 5 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];
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 1e06a9983..47cf8e7b1 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -532,6 +532,10 @@
For Qt 5, define QT_WS_MAC or QT_WS_X11 on those platforms.
<a href="http://sourceforge.net/p/scintilla/bugs/1887/">Bug #1887</a>.
</li>
+ <li>
+ For Cocoa, fix crash on view destruction with macOS 10.12.2.
+ <a href="http://sourceforge.net/p/scintilla/bugs/1891/">Bug #1891</a>.
+ </li>
</ul>
<h3>
<a href="http://www.scintilla.org/scite371.zip">Release 3.7.1</a>