diff --git a/src/TTCPServer.cpp b/src/TTCPServer.cpp index d9669c6..fb8cf17 100644 --- a/src/TTCPServer.cpp +++ b/src/TTCPServer.cpp @@ -632,7 +632,7 @@ void TTCPServer::operator()() { info(("Vehicle event network online")); do { try { - if (!mShutdown) { + if (mShutdown) { debug("shutdown during TCP wait for accept loop"); break; }