aboutsummaryrefslogtreecommitdiffhomepage
path: root/cocoa
diff options
context:
space:
mode:
authorChinh Nguyen <devnull@localhost>2015-12-10 13:31:32 +1100
committerChinh Nguyen <devnull@localhost>2015-12-10 13:31:32 +1100
commitbed632c133c35bb22676c99efd52a27da8b3cf48 (patch)
treef86686fff3f802d4ca4ceaeab7244d41865d316c /cocoa
parentae13a9a2121de5dd4c4f1c464edf5ef0352b97d7 (diff)
downloadscintilla-mirror-bed632c133c35bb22676c99efd52a27da8b3cf48.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];