1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 17:30:17 +01:00

Delay creation of tool docks and bars...

... after construction time for ToolManager, so that ToolManager can be
constructed earlier than ProjectWindow, and therefore the unspecified sequence
of invocation of factories of attached objects in the project won't lead to a
crash on any platform
This commit is contained in:
Paul Licameli
2020-06-08 15:06:48 -04:00
parent 9e2a13128a
commit a085057b66
3 changed files with 14 additions and 9 deletions

View File

@@ -393,6 +393,7 @@ void InitProjectWindow( ProjectWindow &window )
//
// Create the ToolDock
//
ToolManager::Get( project ).CreateWindows();
ToolManager::Get( project ).LayoutToolBars();
//