From 52decdd1b4691abf5db926418b1959f185686bd4 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 9 Oct 2021 11:47:13 -0600 Subject: [PATCH] push2: prevent crash caused by missing per-thread tempo map ptr --- libs/surfaces/push2/track_mix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/surfaces/push2/track_mix.cc b/libs/surfaces/push2/track_mix.cc index d96c728c91..8c03f232cf 100644 --- a/libs/surfaces/push2/track_mix.cc +++ b/libs/surfaces/push2/track_mix.cc @@ -603,7 +603,7 @@ TrackMixLayout::update_clocks () } char buf[16]; - Temporal::BBT_Time BBT = Temporal::TempoMap::use()->bbt_at (timepos_t (pos)); + Temporal::BBT_Time BBT = Temporal::TempoMap::fetch()->bbt_at (timepos_t (pos)); #define BBT_BAR_CHAR "|"