Browse Source

fix(CAPI): 🐛 fix buffer thread to detach

tags/0.1.0
DragonAura 3 years ago
parent
commit
560771e3b2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      CAPI/API/src/logic.cpp

+ 1
- 1
CAPI/API/src/logic.cpp View File

@@ -35,7 +35,7 @@ void Logic::ProcessMessage()
LoadBuffer(clientMsg);
}
};
std::thread(messageThread).join();
std::thread(messageThread).detach();
}

void Logic::LoadBuffer(protobuf::MessageToClient& message)


Loading…
Cancel
Save