mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
Adds an assert to fail explicitely
This commit is contained in:
parent
7ce373e6f0
commit
2bd7b4afb8
1 changed files with 2 additions and 0 deletions
|
|
@ -432,6 +432,8 @@ Mixer_UI::add_strips (RouteList& routes)
|
|||
}
|
||||
|
||||
} catch (const std::exception& e) {
|
||||
// this should never happen as it leaks memory and leaves connections established
|
||||
assert(false);
|
||||
error << string_compose (_("Error adding GUI elements for new tracks/busses %1"), e.what()) << endmsg;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue