mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 05:35:47 +01:00
Prevent undo transaction crashes in optimized builds
Worst case this will lead to undo operations not being saved rather than segfault (debug builds will still assert).
This commit is contained in:
parent
32d2b371c1
commit
292cff7cfc
1 changed files with 3 additions and 0 deletions
|
|
@ -3344,6 +3344,9 @@ Session::commit_reversible_command (Command *cmd)
|
|||
{
|
||||
assert (_current_trans);
|
||||
assert (!_current_trans_quarks.empty ());
|
||||
if (!_current_trans) {
|
||||
return;
|
||||
}
|
||||
|
||||
struct timeval now;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue