7408a9958e6e7d46f97a7787bb1aef5a5dc8560c
When loading the very first session is canceled (e.g. sample-rate mismatch -> Do not load session) or fails otherwise, execution returns to the startupFSM. Loading another session after that then takes the same path again: StartupFSM::dialog_response_handler() -> StartupFSM::engine_running() -> ARDOUR_UI::attach_to_engine() The call needs to be idempotent, otherwise setup_windows(), create_editor() etc are called a second time and Ardour crashes.
Please see the Ardour web site at https://ardour.org/ for all documentation..
For information on building ardour:
https://ardour.org/development.html
Description
Languages
C++
56.5%
C
39.6%
JavaScript
1.3%
Lua
0.9%
Python
0.6%
Other
0.9%