Skip to content

Commit

Permalink
Update HomegearGateway.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
hfedcba authored May 24, 2018
1 parent 2a40bc6 commit f0c008e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PhysicalInterfaces/HomegearGateway.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -422,4 +422,4 @@ void HomegearGateway::processPacket(std::string& data)
}
}

}
}

0 comments on commit f0c008e

Please # to comment.