mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-24 07:27:44 +01:00
Fix deadlock and remove debug message
get_extent() takes a RegionReadLock, but ::partition_internal already holds a RegionWriteLock (use ::_get_extent)
This commit is contained in:
parent
49aa046824
commit
d0f5fdb224
1 changed files with 1 additions and 1 deletions
|
|
@ -1177,7 +1177,7 @@ Playlist::partition_internal (timepos_t const & start, timepos_t const & end, bo
|
|||
/* keep track of any dead space at end (for pasting into Ripple or RippleAll mode) */
|
||||
const timecnt_t wanted_length = start.distance (end);
|
||||
_end_space = wanted_length - _get_extent().first.distance (_get_extent().second);
|
||||
cout << "PL: " << name() << " END SPACE: " << _end_space << " WANTED LEN: " << wanted_length << " EXT: " << _get_extent().first << " to " << get_extent().second << "\n";
|
||||
// cout << "PL: " << name() << " END SPACE: " << _end_space << " WANTED LEN: " << wanted_length << " EXT: " << _get_extent().first << " to " << _get_extent().second << "\n";
|
||||
}
|
||||
|
||||
std::shared_ptr<Playlist>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue