Addressing the failure to close a socket and duplicte logs messages. Docker problem.

This commit is contained in:
stephb9959
2021-09-01 17:25:27 -07:00
parent 24785e2f63
commit 7892489e96
2 changed files with 1 additions and 5 deletions

View File

@@ -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;
}