aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cocoa/ScintillaView.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/cocoa/ScintillaView.mm b/cocoa/ScintillaView.mm
index 68290f74d..ba363ef14 100644
--- a/cocoa/ScintillaView.mm
+++ b/cocoa/ScintillaView.mm
@@ -858,6 +858,7 @@ static void notification(intptr_t windowid, unsigned int iMessage, uintptr_t wPa
- (void) dealloc
{
+ [[NSNotificationCenter defaultCenter] removeObserver:self];
[mInfoBar release];
delete mBackend;
[super dealloc];