haxeui / haxeui-core

The core library of the HaxeUI framework
http://haxeui.org
MIT License
345 stars 71 forks source link

Fixed menus in menu bar not being disposed if they aren't currently on-screen #565

Closed Starmapo closed 9 months ago

Starmapo commented 9 months ago

After destroying a menu bar, the menus that are currently hidden aren't disposed, resulting in a crash if it dispatches any events (the menu bar event listener tries to find the index of it in _menus, but the array is null)

Starmapo commented 9 months ago

Closed as this is fixed by b6f14a15c694cb71ca301ddf1ef2d9f5f732dc3f