1
0
Fork 0

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.
This commit is contained in:
Robbert van der Helm 2022-06-15 00:25:27 +02:00
parent a4fa7e8e78
commit 4219acaf83

View file

@ -281,9 +281,10 @@ impl<P: Plugin, B: Backend> Wrapper<P, B> {
)
}
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();
}
}