From f0c008eef30408551806249adc2b327f15816d4a Mon Sep 17 00:00:00 2001 From: Sathya Laufer Date: Fri, 25 May 2018 00:18:12 +0200 Subject: [PATCH] Update HomegearGateway.cpp --- src/PhysicalInterfaces/HomegearGateway.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PhysicalInterfaces/HomegearGateway.cpp b/src/PhysicalInterfaces/HomegearGateway.cpp index dbe6296..583c2ca 100644 --- a/src/PhysicalInterfaces/HomegearGateway.cpp +++ b/src/PhysicalInterfaces/HomegearGateway.cpp @@ -107,12 +107,12 @@ void HomegearGateway::stopListening() { try { + IBidCoSInterface::stopListening(); _stopCallbackThread = true; if(_tcpSocket) _tcpSocket->close(); _bl->threadManager.join(_listenThread); _stopped = true; _tcpSocket.reset(); - IPhysicalInterface::stopListening(); } catch(const std::exception& ex) { @@ -422,4 +422,4 @@ void HomegearGateway::processPacket(std::string& data) } } -} \ No newline at end of file +}