remove observer as it was causing a crash on exit
This commit is contained in:
parent
7f46fb2fbd
commit
7b5d596c9b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue