You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The -[NSNotificationCenter removeObserver:name:object:] has the following chunk around the line 1050 :
/* As a special case GSNotificationObserver instances are owned by the
* notification center and are released when they are removed.
*/
if (object_getClass(observer) == GSNotificationObserverClass)
{
RELEASE(observer);
}
If GSNotificationObserverClass is left unintialized (nil) then any attempt to remove an already deallocated observer leads to a crash. These bad conditions exist currently in libs-gui where NSTextView subscribes its delegate for text change notifications. When the delegate is deallocated before the NSTextView the latter would make the bad call -removeObserver:name:object: in its -dealloc resulting in a crash.
The text was updated successfully, but these errors were encountered:
The -[NSNotificationCenter removeObserver:name:object:] has the following chunk around the line 1050 :
If GSNotificationObserverClass is left unintialized (nil) then any attempt to remove an already deallocated observer leads to a crash. These bad conditions exist currently in libs-gui where NSTextView subscribes its delegate for text change notifications. When the delegate is deallocated before the NSTextView the latter would make the bad call -removeObserver:name:object: in its -dealloc resulting in a crash.
The text was updated successfully, but these errors were encountered: