* Source/NSScreen.m (dealloc): removed unneeded -removeObserver call.

This commit is contained in:
Sergii Stoian 2020-01-23 12:51:51 +02:00
parent 50b7d772c2
commit 232b70967a

View file

@ -408,7 +408,6 @@ static NSMutableArray *screenArray = nil;
// Release the memory for the depths array.
- (void) dealloc
{
[[NSNotificationCenter defaultCenter] removeObserver: self];
// _supportedWindowDepths can be NULL since it may or may not
// be necessary to get this info. The most common use of NSScreen
// is to get the depth and frame attributes.