wangzhengquan
2021-02-26 5f246a2c098b663fa44d87bc5c9ac5c8f74bbcc1
src/socket/shm_socket.cpp
@@ -52,7 +52,7 @@
    return queue;
  } else if(force) {
    hashtable_unlock(hashtable);
    return (LockFreeQueue<shm_packet_t> *) queue;
    return (LockFreeQueue<shm_packet_t> *) tmp_ptr;
  }
  
  hashtable_unlock(hashtable);
@@ -292,7 +292,7 @@
{
  int rv;
  logger->debug("%d destroy threadlocal socket\n", pthread_self());
  logger->debug("%lu destroy threadlocal socket\n", pthread_self());
  if(tmp_socket == NULL)
    return;