mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 04:20:13 +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:
@@ -132,9 +132,11 @@ __cdecl
|
||||
|
||||
// Handle Win32 messages and X11 events on a timer, just like in
|
||||
// `GroupBridge::async_handle_events()``
|
||||
main_context.async_handle_events([&]() {
|
||||
bridge->handle_x11_events();
|
||||
bridge->handle_win32_events();
|
||||
});
|
||||
main_context.async_handle_events(
|
||||
[&]() {
|
||||
bridge->handle_x11_events();
|
||||
bridge->handle_win32_events();
|
||||
},
|
||||
[&]() { return !bridge->inhibits_event_loop(); });
|
||||
main_context.run();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user