I just encountered that when I set a menu on a window created via WindowBuilder (https://docs.rs/tauri/latest/tauri/window/struct.WindowBuilder.html#method.menu) and I close that window, the menu of the main window remains stuck with the menu of that "external" window on macOS. Is this a known issue?
A builder for a webview window managed by Tauri.