mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-21 07:46:54 +00:00
add mutex to openid
This commit is contained in:
1 parent
5f5af9b0a7
commit
e852245bae
2 files changed
+2
No files matched your search
@@ -630,6 +630,7 @@ void TNetwork::OnDisconnect(const std::weak_ptr<TClient>& ClientPtr) {
|
||||
}
|
||||
|
||||
int TNetwork::OpenID() {
|
||||
std::unique_lock OpenIDLock(mOpenIDMutex);
|
||||
int ID = 0;
|
||||
bool found;
|
||||
do {
|
||||
|
||||
Reference in new issue
Block a user