From 9b8ff9cfedb49bdfe164990b0e6bb4ebff120446 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 14 Aug 2012 09:27:42 +1000 Subject: Drop notifications so not sent after ScintillaView freed. --- cocoa/ScintillaView.mm | 1 + 1 file changed, 1 insertion(+) 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]; -- cgit v1.2.3