aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jalv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/jalv.c b/src/jalv.c
index 9f70419..f1fb6c2 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -707,6 +707,10 @@ main(int argc, char** argv)
lilv_uri_to_path(lilv_node_as_uri(lilv_ui_get_binary_uri(host.ui))),
features);
+ if (!host.ui_instance) {
+ die("Failed to instantiate plugin.\n");
+ }
+
/* Set initial control values for UI */
for (uint32_t i = 0; i < host.num_ports; ++i) {
if (host.ports[i].type == TYPE_CONTROL) {