fix deadlock in Editor::define_one_bar()
This commit is contained in:
parent
58594e2554
commit
db987cf046
|
@ -7450,7 +7450,7 @@ Editor::define_one_bar (timepos_t const & start, timepos_t const & end)
|
|||
{
|
||||
timecnt_t length = start.distance (end);
|
||||
|
||||
TempoMap::WritableSharedPtr tmap (TempoMap::write_copy());
|
||||
TempoMap::SharedPtr tmap (TempoMap::use());
|
||||
const Meter& m (tmap->meter_at (start));
|
||||
|
||||
/* length = 1 bar */
|
||||
|
|
Loading…
Reference in New Issue