mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-07 03:50:11 +02:00
Rename host_guard_handler to host_watchdog_handler
To keep the terminology consistent.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user