mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-17 08:53:56 +02:00
Don't check for child termination with winedbg
This of course can't work since the process is spawned in a detached state.
This commit is contained in:
@@ -86,6 +86,7 @@ PluginBridge::PluginBridge(audioMasterCallback host_callback)
|
|||||||
async_log_pipe_lines(wine_stderr, wine_stderr_buffer, "[Wine STDERR] ");
|
async_log_pipe_lines(wine_stderr, wine_stderr_buffer, "[Wine STDERR] ");
|
||||||
wine_io_handler = std::thread([&]() { io_context.run(); });
|
wine_io_handler = std::thread([&]() { io_context.run(); });
|
||||||
|
|
||||||
|
#ifndef USE_WINEDBG
|
||||||
// If the Wine process fails to start, then nothing will connect to the
|
// If the Wine process fails to start, then nothing will connect to the
|
||||||
// sockets and we'll be hanging here indefinitely. To prevent this, we'll
|
// sockets and we'll be hanging here indefinitely. To prevent this, we'll
|
||||||
// periodically poll whether the Wine process is still running, and throw
|
// periodically poll whether the Wine process is still running, and throw
|
||||||
@@ -125,6 +126,7 @@ PluginBridge::PluginBridge(audioMasterCallback host_callback)
|
|||||||
std::this_thread::sleep_for(1s);
|
std::this_thread::sleep_for(1s);
|
||||||
}
|
}
|
||||||
}).detach();
|
}).detach();
|
||||||
|
#endif
|
||||||
|
|
||||||
// It's very important that these sockets are connected to in the same
|
// It's very important that these sockets are connected to in the same
|
||||||
// order in the Wine VST host
|
// order in the Wine VST host
|
||||||
|
|||||||
Reference in New Issue
Block a user