From ddef65b0b041d37c44b7a157073bc53bdeabfc57 Mon Sep 17 00:00:00 2001 From: sehraf Date: Tue, 12 Jul 2022 23:25:33 +0200 Subject: [PATCH] silence warning during shutdown, since it is confusing and missleading (the error is expected when shutting down) --- src/services/autoproxy/rsautoproxymonitor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/autoproxy/rsautoproxymonitor.cc b/src/services/autoproxy/rsautoproxymonitor.cc index b2d71571e..bf7a4d408 100644 --- a/src/services/autoproxy/rsautoproxymonitor.cc +++ b/src/services/autoproxy/rsautoproxymonitor.cc @@ -323,7 +323,8 @@ autoProxyService *rsAutoProxyMonitor::lookUpService(autoProxyType::autoProxyType if ((itService = mProxies.find(t)) != mProxies.end()) { return itService->second; } - RS_DBG("no service for type ", t, " found!"); + if (!mRSShutDown) + RS_DBG("no service for type ", t, " found!"); return NULL; }