Adds an assert to fail explicitely
This commit is contained in:
parent
7ce373e6f0
commit
2bd7b4afb8
@ -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…
Reference in New Issue
Block a user