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:
@@ -393,6 +393,7 @@ void InitProjectWindow( ProjectWindow &window )
|
||||
//
|
||||
// Create the ToolDock
|
||||
//
|
||||
ToolManager::Get( project ).CreateWindows();
|
||||
ToolManager::Get( project ).LayoutToolBars();
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user