lichao
2021-05-19 981ca0fa022524fd04af988bc798f2d697d31548
src/defs.cpp
@@ -104,7 +104,7 @@
// which node might crash inside and cause deadlock.
bool CenterInit(bhome_shm::SharedMemory &shm)
{
   Mutex *mutex = shm.Create<Mutex>("shm_center_lock");
   Mutex *mutex = shm.FindOrCreate<Mutex>("shm_center_lock");
   if (!mutex || !mutex->try_lock()) {
      return false;
   }