From 4219acaf83c5df217b5f2cfd33dc46e1e8ac09e9 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Wed, 15 Jun 2022 00:25:27 +0200 Subject: [PATCH] Sort of allow GUI-less standalones There's no way to interact with them, but they'll just keep running and be at least somewhat useful. --- src/wrapper/standalone/wrapper.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wrapper/standalone/wrapper.rs b/src/wrapper/standalone/wrapper.rs index 98b1371a..8adc14eb 100644 --- a/src/wrapper/standalone/wrapper.rs +++ b/src/wrapper/standalone/wrapper.rs @@ -281,9 +281,10 @@ impl Wrapper { ) } None => { - // TODO: Block until SIGINT is received if the plugin does not have an editor + // TODO: Properly block until SIGINT is received if the plugin does not have an editor // TODO: Make sure to handle `GuiTask::Close` here as well - todo!("Support standalone plugins without editors"); + nih_log!("{} does not have a GUI, blocking indefinitely...", P::NAME); + std::thread::park(); } }