lichao
2021-04-09 2197cf91e7a3bd5941327ba630a42946b88f069e
src/msg.cpp
@@ -78,6 +78,14 @@
   return true;
}
bool MsgI::EnableRefCount(SharedMemory &shm)
{
   if (!IsCounted()) {
      count_ = shm.New<RefCount>();
   }
   return IsCounted();
}
int MsgI::Release(SharedMemory &shm)
{
   if (IsCounted()) {