diff options
author | nyamatongwe <nyamatongwe@gmail.com> | 2012-08-14 09:27:42 +1000 |
---|---|---|
committer | nyamatongwe <nyamatongwe@gmail.com> | 2012-08-14 09:27:42 +1000 |
commit | 9b8ff9cfedb49bdfe164990b0e6bb4ebff120446 (patch) | |
tree | 95506889363abf7a5dd3e8f54de3474329b76c3e | |
parent | 8539d5a369320d212e0a87d95a349ba593e63ab6 (diff) | |
download | scintilla-mirror-9b8ff9cfedb49bdfe164990b0e6bb4ebff120446.tar.gz |
Drop notifications so not sent after ScintillaView freed.
-rw-r--r-- | cocoa/ScintillaView.mm | 1 |
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]; |