fixed the code to call the destructor when dispoing an object with mmgr
This commit is contained in:
@ -29,7 +29,7 @@ public:
|
||||
qse_ssize_t n;
|
||||
|
||||
cliaddr->toStrBuf(addrbuf, QSE_COUNTOF(addrbuf));
|
||||
qse_printf (QSE_T("hello word..from %s\n"), addrbuf);
|
||||
//qse_printf (QSE_T("hello word..from %s\n"), addrbuf);
|
||||
|
||||
while (!server->isStopRequested())
|
||||
{
|
||||
@ -41,7 +41,7 @@ public:
|
||||
clisock->send (bb, n);
|
||||
}
|
||||
|
||||
qse_printf (QSE_T("byte to %s\n"), addrbuf);
|
||||
//qse_printf (QSE_T("byte to %s\n"), addrbuf);
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
@ -64,7 +64,7 @@ static int test1 (void)
|
||||
|
||||
cliaddr->toStrBuf(addrbuf, QSE_COUNTOF(addrbuf));
|
||||
qse_printf (QSE_T("hello word..from %s\n"), addrbuf);
|
||||
|
||||
|
||||
while (!server.isStopRequested())
|
||||
{
|
||||
if ((n = clisock->receive(bb, QSE_COUNTOF(bb))) <= 0)
|
||||
|
Reference in New Issue
Block a user