You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the title says, when you right-click on a tray-icon the menu pops up as normal, but if you close the menu by clicking anywhere else the program simply crashes, giving the "STATUS_ACCESS_VIOLATION" error.
This was made on windows 10 pro 19045.3930.
This is my code stating the tray icon, menu and menu item:
let my_menu: Menu = Menu::new();
let _ = my_menu.append(&PredefinedMenuItem::quit(Some("Terminar")));
let _tray_icon: TrayIcon = TrayIconBuilder::new()
.with_tooltip("Anti-AFK")
.with_icon(icono)
.with_menu(Box::new(my_menu))
.build()
.unwrap();
The text was updated successfully, but these errors were encountered:
As the title says, when you right-click on a tray-icon the menu pops up as normal, but if you close the menu by clicking anywhere else the program simply crashes, giving the "STATUS_ACCESS_VIOLATION" error.
This was made on windows 10 pro 19045.3930.
This is my code stating the tray icon, menu and menu item:
The text was updated successfully, but these errors were encountered: