aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
diff options
context:
space:
mode:
authorChinh Nguyen <unknown>2015-12-10 13:31:32 +1100
committerChinh Nguyen <unknown>2015-12-10 13:31:32 +1100
commit9e8c72243b8e63311d9f235eccdd8d7ee060dc24 (patch)
treeb8706c95a6f03b409cce23a2ee5df05997e2226d /cocoa
parentc47c131ac48d22044f787c384958ec2fc7bb6a40 (diff)
downloadscintilla-mirror-9e8c72243b8e63311d9f235eccdd8d7ee060dc24.tar.gz
Bug [#1788]. Fix crash when autocompletion list closed during scroll bounce-back
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/PlatCocoa.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm
index 5776818ad..60eac53dc 100644
--- a/cocoa/PlatCocoa.mm
+++ b/cocoa/PlatCocoa.mm
@@ -1719,6 +1719,7 @@ int ListBoxImpl::CaretFromEdge()
void ListBoxImpl::ReleaseViews()
{
+ [table setDataSource:nil];
[table release];
table = nil;
[scroller release];