From 7881e0116e762f537618e7978a5826da0db1c6a3 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sat, 1 May 2021 15:20:50 +0200 Subject: [PATCH] Rename host_guard_handler to host_watchdog_handler To keep the terminology consistent. --- src/plugin/bridges/common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugin/bridges/common.h b/src/plugin/bridges/common.h index f26f8e1e..fadb2aa6 100644 --- a/src/plugin/bridges/common.h +++ b/src/plugin/bridges/common.h @@ -260,7 +260,7 @@ class PluginBridge { // and throw when it is not. The alternative would be to rewrite this to // using `async_accept`, Boost.Asio timers, and another IO context, but // I feel like this a much simpler solution. - host_guard_handler = std::jthread([&](std::stop_token st) { + host_watchdog_handler = std::jthread([&](std::stop_token st) { using namespace std::literals::chrono_literals; while (!st.stop_requested()) { @@ -278,7 +278,7 @@ class PluginBridge { sockets.connect(); #ifndef WITH_WINEDBG - host_guard_handler.request_stop(); + host_watchdog_handler.request_stop(); #endif } @@ -350,5 +350,5 @@ class PluginBridge { * detach the thread as it has to check whether the VST host is still * running. */ - std::jthread host_guard_handler; + std::jthread host_watchdog_handler; };