fix: do not leak NSUUID (#29990)
This commit is contained in:
parent
0403494a6b
commit
18d0ed8155
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ void CocoaNotification::Show(const NotificationOptions& options) {
|
|||
NSString* identifier =
|
||||
[NSString stringWithFormat:@"%@:notification:%@",
|
||||
[[NSBundle mainBundle] bundleIdentifier],
|
||||
[[[NSUUID alloc] init] UUIDString]];
|
||||
[[NSUUID UUID] UUIDString]]];
|
||||
|
||||
[notification_ setTitle:base::SysUTF16ToNSString(options.title)];
|
||||
[notification_ setSubtitle:base::SysUTF16ToNSString(options.subtitle)];
|
||||
|
|
Loading…
Add table
Reference in a new issue