1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-15 22:57:12 +02:00

Refactor ZMQ to be simpler.

Fixed a meory leak.
This commit is contained in:
Sandu Liviu Catalin
2021-02-03 11:49:35 +02:00
parent 3fb6005c3f
commit 203a02cb2d
3 changed files with 213 additions and 561 deletions

View File

@ -144,6 +144,14 @@ public:
return m_Buffer;
}
/* --------------------------------------------------------------------------------------------
* Retrieve a reference to the managed memory buffer.
*/
SQMOD_NODISCARD Buffer & GetInst() const
{
return *m_Buffer;
}
/* --------------------------------------------------------------------------------------------
* Validate the managed memory buffer reference.
*/