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:
parent
a4fa7e8e78
commit
4219acaf83
1 changed files with 3 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue