From 0de5ebfbf36bdd9b3680eaf844a142fdc06222a2 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Thu, 17 Jun 2021 00:09:02 +0200 Subject: [PATCH] Fixed TS input disconnect by controller --- src/input/input_ts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/input_ts.cpp b/src/input/input_ts.cpp index feeb2d6a..98300411 100644 --- a/src/input/input_ts.cpp +++ b/src/input/input_ts.cpp @@ -560,7 +560,7 @@ namespace Mist{ // Connect to stats for INPUT detection statComm.reload(); if (statComm){ - if (statComm.getStatus() == COMM_STATUS_REQDISCONNECT){ + if (statComm.getStatus() & COMM_STATUS_REQDISCONNECT){ config->is_active = false; Util::logExitReason("received shutdown request from controller"); return;