From cebe1d64e750ee7f6f53406380436936bdd43fe0 Mon Sep 17 00:00:00 2001 From: Chinh Nguyen Date: Thu, 8 Dec 2016 10:41:53 +1100 Subject: Bug [#1891]. Fix crash on view destruction with macOS 10.12.2. --- cocoa/ScintillaView.mm | 1 + 1 file changed, 1 insertion(+) (limited to 'cocoa') 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]; -- cgit v1.2.3