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:
Robbert van der Helm
2020-05-28 19:00:10 +02:00
parent 000438c59d
commit 16aa1af14e
+2
View File
@@ -86,6 +86,7 @@ PluginBridge::PluginBridge(audioMasterCallback host_callback)
async_log_pipe_lines(wine_stderr, wine_stderr_buffer, "[Wine STDERR] ");
wine_io_handler = std::thread([&]() { io_context.run(); });
#ifndef USE_WINEDBG
// 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
// 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);
}
}).detach();
#endif
// It's very important that these sockets are connected to in the same
// order in the Wine VST host