mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-11-06 03:47:09 +01:00
Refactor ZMQ to be simpler.
Fixed a meory leak.
This commit is contained in:
1 parent
3fb6005c3f
commit
203a02cb2d
3 files changed
+213
-561
No files matched your search
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user