mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-10 04:30:12 +02:00
Skip event loop with partially initialized plugins
This should prevent T-RackS 5 from potentially stalling indefinitely when using plugin groups.
This commit is contained in:
@@ -130,6 +130,14 @@ class GroupBridge {
|
||||
GroupBridge(const GroupBridge&) = delete;
|
||||
GroupBridge& operator=(const GroupBridge&) = delete;
|
||||
|
||||
/**
|
||||
* If this returns `true`, then the group host's event loop should
|
||||
* temporarily be disabled. This simply calls
|
||||
* `HostBridge::inhibits_event_loop()` for all plugins hosted in this group
|
||||
* process.
|
||||
*/
|
||||
bool is_event_loop_inhibited();
|
||||
|
||||
/**
|
||||
* Run a plugin's dispatcher and message loop, processing all events on the
|
||||
* main IO context. The plugin will have already been created in
|
||||
|
||||
Reference in New Issue
Block a user