diff --git a/CHANGELOG.md b/CHANGELOG.md index 22bdfc2c..9d202adc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ Versioning](https://semver.org/spec/v2.0.0.html). ### Fixed +- Fixed a regression from yabridge 4.0.0 where plugin groups would not exit + correctly. When removing a plugin instance that was part of a plugin group, it + would block until the group host process had exited, causing the host to + stall. - Configuring the Meson build now works correctly on Wine 8.0 final. Meson's version comparison function considers `8.0` to be a lower version than `8.0rc2`. diff --git a/src/common/process.cpp b/src/common/process.cpp index dbaf21ff..5c84ed0c 100644 --- a/src/common/process.cpp +++ b/src/common/process.cpp @@ -194,13 +194,15 @@ Process::Handle::~Handle() { } } -Process::Handle::Handle(Handle&& o) noexcept : pid_(o.pid_) { +Process::Handle::Handle(Handle&& o) noexcept + : detached_(o.detached_), pid_(o.pid_) { o.detached_ = true; } Process::Handle& Process::Handle::operator=(Handle&& o) noexcept { o.detached_ = true; + detached_ = o.detached_; pid_ = o.pid_; return *this;