mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralgw.git
synced 2025-11-03 20:27:45 +00:00
Addressing the failure to close a socket and duplicte logs messages. Docker problem.
This commit is contained in:
@@ -162,7 +162,6 @@ namespace OpenWifi {
|
||||
}
|
||||
|
||||
WSConnection::~WSConnection() {
|
||||
Logger_.information("New message #3");
|
||||
DeviceRegistry()->UnRegister(SerialNumber_,this);
|
||||
if(Registered_ && WS_)
|
||||
{
|
||||
@@ -646,7 +645,6 @@ namespace OpenWifi {
|
||||
|
||||
if (IncomingSize == 0 && flags == 0 && Op == 0) {
|
||||
Logger_.information(Poco::format("DISCONNECT(%s)", CId_));
|
||||
Logger_.information("New message #1");
|
||||
MustDisconnect = true;
|
||||
} else {
|
||||
switch (Op) {
|
||||
@@ -780,8 +778,6 @@ namespace OpenWifi {
|
||||
Errors_++;
|
||||
return;
|
||||
}
|
||||
|
||||
Logger_.information("New message #2");
|
||||
delete this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user