aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jalv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jalv.c b/src/jalv.c
index d01581d..a2b8b86 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -433,7 +433,7 @@ jack_process_cb(jack_nframes_t nframes, void* data)
jalv_worker_emit_responses(host, &host->worker);
/* Notify the plugin the run() cycle is finished */
- if (host->worker.iface->end_run) {
+ if (host->worker.iface && host->worker.iface->end_run) {
host->worker.iface->end_run(host->instance->lv2_handle);
}