Merge branch 'master' into feature/vst3

This commit is contained in:
Robbert van der Helm
2020-12-11 00:47:41 +01:00
5 changed files with 62 additions and 17 deletions
+2 -1
View File
@@ -141,8 +141,9 @@ void GroupBridge::handle_plugin_dispatch(size_t plugin_id) {
// Defer actually shutting down the process to allow for fast plugin
// scanning by allowing plugins to reuse the same group host process
std::lock_guard lock(shutdown_timer_mutex);
shutdown_timer.expires_after(2s);
shutdown_timer.async_wait([&](const boost::system::error_code& error) {
shutdown_timer.async_wait([this](const boost::system::error_code& error) {
// A previous timer gets canceled automatically when another plugin
// exits
if (error.failed()) {