mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 00:23:35 +00:00
Fix failing assert in ui::details::::removeWidget()
When running multiple UI tests, if the mouse was moved on a created window, it made the ui::details::removeWidget() fail because the widget was still ui::Manager::widgetAssociatedToManager().
This commit is contained in:
parent
0e775bf06d
commit
4ba88ce49c
@ -282,6 +282,10 @@ Manager::~Manager()
|
||||
|
||||
// Shutdown system
|
||||
mouse_widgets_list.clear();
|
||||
|
||||
focus_widget = nullptr;
|
||||
mouse_widget = nullptr;
|
||||
capture_widget = nullptr;
|
||||
}
|
||||
|
||||
manager_thread = std::thread::id();
|
||||
|
Loading…
Reference in New Issue
Block a user