diff --git a/syncd/MdioIpcServer.cpp b/syncd/MdioIpcServer.cpp index 55e22e5d3..452719055 100644 --- a/syncd/MdioIpcServer.cpp +++ b/syncd/MdioIpcServer.cpp @@ -63,7 +63,10 @@ MdioIpcServer::~MdioIpcServer() SWSS_LOG_ENTER(); m_taskAlive = 0; - if(m_taskThread.joinable()) m_taskThread.join(); + if(m_taskThread.joinable()) + { + m_taskThread.join(); + } } void MdioIpcServer::setSwitchId(