macos: retain menu menu when retrieving it from NSApp

refs: https://github.com/wez/wezterm/issues/2940
This commit is contained in:
Wez Furlong committed 2023-01-12 19:29:40 -07:00
1 parent 5da0ef4c12
commit a145a140f1
1 file changed
+1 -1
+1 -1
View File
@@ -56,7 +56,7 @@ impl Menu {
None
} else {
Some(Self {
menu: StrongPtr::new(existing),
menu: StrongPtr::retain(existing),
})
}
}