mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 07:45:00 +01:00
Fix failed assertion when end_write is called multiple times.
Bad logic, but oh well, doesn't hurt. git-svn-id: svn://localhost/ardour2/branches/3.0@5850 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
97c695735f
commit
4b01242df1
1 changed files with 5 additions and 1 deletions
|
|
@ -555,7 +555,11 @@ void
|
|||
Sequence<Time>::end_write(bool delete_stuck)
|
||||
{
|
||||
write_lock();
|
||||
assert(_writing);
|
||||
|
||||
if (!_writing) {
|
||||
write_unlock();
|
||||
return;
|
||||
}
|
||||
|
||||
DUMP(format("%1% : end_write (%2% notes)\n") % this % _notes.size());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue