From cd5e86c24a39a7343bfa2089ceaf995ed69342ce Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Tue, 12 Jul 2016 22:06:14 +0200 Subject: [PATCH] add a safe-guard --- libs/ardour/plugin_insert.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/plugin_insert.cc b/libs/ardour/plugin_insert.cc index 6394f48fee..6720b41f93 100644 --- a/libs/ardour/plugin_insert.cc +++ b/libs/ardour/plugin_insert.cc @@ -2960,6 +2960,7 @@ PluginInsert::latency_changed () // this is called in RT context, LatencyChanged is emitted after run() _latency_changed = true; // XXX This also needs a proper API not an owner() hack. + assert (owner ()); static_cast(owner ())->processor_latency_changed (); /* EMIT SIGNAL */ } -- 2.30.2