fixed the code to call the destructor when dispoing an object with mmgr

This commit is contained in:
2018-07-01 07:33:56 +00:00
parent 87e0cf1b40
commit 9cbd6cd7fe
8 changed files with 43 additions and 48 deletions

View File

@ -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)