mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-15 16:36:52 +01:00
Bugfix of Handling Exception #236
Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -32,6 +32,7 @@ ClientRecvTask::ClientRecvTask(Gateway* gateway)
|
||||
_gateway = gateway;
|
||||
_gateway->attach((Thread*) this);
|
||||
_sensorNetwork = _gateway->getSensorNetwork();
|
||||
setTaskName("ClientRecvTask");
|
||||
}
|
||||
|
||||
ClientRecvTask::~ClientRecvTask()
|
||||
@@ -78,7 +79,7 @@ void ClientRecvTask::run()
|
||||
|
||||
if (CHK_SIGINT)
|
||||
{
|
||||
WRITELOG("\n%s ClientRecvTask stopped.", currentDateTime());
|
||||
WRITELOG("\n%s %s stopped.", currentDateTime(), getTaskName());
|
||||
delete packet;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user