chore: speculative fix for CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER crash

This commit is contained in:
John Kleinschmidt
2022-08-03 17:17:33 -04:00
parent 6e04cabeac
commit b7c8ef364c

View File

@@ -197,4 +197,9 @@ static NSDictionary* UNNotificationResponseToNSDictionary(
}
}
- (void)dealloc {
[[[NSWorkspace sharedWorkspace] notificationCenter] removeObserver:self];
[super dealloc];
}
@end