mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 20:40:03 +02:00
Fall back to waiting when socket is not yet ready
This can happen with plugin groups.
This commit is contained in:
@@ -219,7 +219,7 @@ void GroupBridge::accept_requests() {
|
||||
// is only used within this context we don't need any locks.
|
||||
const size_t plugin_id = next_plugin_id.fetch_add(1);
|
||||
active_plugins[plugin_id] =
|
||||
std::pair(std::jthread([&, request]() {
|
||||
std::pair(std::jthread([this, plugin_id]() {
|
||||
handle_plugin_dispatch(plugin_id);
|
||||
}),
|
||||
std::move(bridge));
|
||||
|
||||
Reference in New Issue
Block a user