stephb9959
2022-09-27 09:43:16 -07:00
parent 0e605f9ada
commit f6e7693e39
2 changed files with 2 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ namespace OpenWifi {
}
RTTYS_ClientConnection::~RTTYS_ClientConnection() {
std::cout << "Deleting Device RTTY entry..." << std::endl;
Reactor_.removeEventHandler(
*WS_, Poco::NObserver<RTTYS_ClientConnection, Poco::Net::ReadableNotification>(
*this, &RTTYS_ClientConnection::onSocketReadable));

View File

@@ -78,7 +78,7 @@ namespace OpenWifi {
}
RTTYS_Device_ConnectionHandler::~RTTYS_Device_ConnectionHandler() {
socket_.close();
std::cout << "Deleting Device RTTY entry..." << std::endl;
reactor_.removeEventHandler(
socket_,
Poco::NObserver<RTTYS_Device_ConnectionHandler, Poco::Net::ReadableNotification>(