remove observer as it was causing a crash on exit

This commit is contained in:
kappaOne 2012-11-25 15:33:56 +00:00
parent 7f46fb2fbd
commit 7b5d596c9b
1 changed files with 4 additions and 4 deletions

View File

@ -95,10 +95,10 @@ static NSAutoreleasePool *pool;
_modifierFlags = 0;
if (self != nil) {
_pixelFormat = [format retain];
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(_surfaceNeedsUpdate:)
name:NSViewGlobalFrameDidChangeNotification
object:self];
//[[NSNotificationCenter defaultCenter] addObserver:self
// selector:@selector(_surfaceNeedsUpdate:)
// name:NSViewGlobalFrameDidChangeNotification
// object:self];
}
return self;
}