Work around a regression in Wine 6.5

Killing a Wine process no longer terminates its threads, see the
changelog entry and NOTE for more information.
This commit is contained in:
Robbert van der Helm
2021-03-27 17:41:15 +01:00
parent 36d93d05ca
commit b036230067
4 changed files with 53 additions and 24 deletions
+6 -5
View File
@@ -84,11 +84,12 @@ class PluginBridge {
io_context,
generic_logger,
info,
HostRequest{.plugin_type = plugin_type,
.plugin_path =
info.windows_plugin_path.string(),
.endpoint_base_dir =
sockets.base_dir.string()}))),
HostRequest{
.plugin_type = plugin_type,
.plugin_path =
info.windows_plugin_path.string(),
.endpoint_base_dir = sockets.base_dir.string()},
sockets))),
has_realtime_priority(has_realtime_priority_promise.get_future()),
wine_io_handler([&]() {
// We no longer run this thread with realtime scheduling because