Skip to content

Commit

Permalink
_isDisposed not _destroyed
Browse files Browse the repository at this point in the history
  • Loading branch information
ianharrigan committed Sep 1, 2024
1 parent 5190e75 commit be64fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haxe/ui/containers/menus/Menu.hx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class MenuEvents extends haxe.ui.events.Events {
// however, its possible that by the time that timer has ticked the menu
// has already been destroyed by other means, so lets just make sure
// that isnt the case
if (@:privateAccess _menu._destroyed) {
if (@:privateAccess _menu._isDisposed) {
return;
}
findRootMenu().dispatch(event);
Expand Down

0 comments on commit be64fde

Please sign in to comment.