mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: speculative fix for CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER crash
This commit is contained in:
@@ -197,4 +197,9 @@ static NSDictionary* UNNotificationResponseToNSDictionary(
|
||||
}
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
[[[NSWorkspace sharedWorkspace] notificationCenter] removeObserver:self];
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user