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 | e70256f3659b8534dfbef24cd00c3957b9a2dd8d (patch) | |
| tree | 982e5e53bb7f5e84580e3734a1c1bbd94f95040d | |
| parent | 02c6cf9e3edbf71308d7e9eab67100fac80cf777 (diff) | |
| download | scintilla-mirror-e70256f3659b8534dfbef24cd00c3957b9a2dd8d.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]; | 
