add mutex to openid

This commit is contained in:
sla-ppy committed 2024-02-08 23:29:10 +01:00
1 parent 5f5af9b0a7
commit e852245bae
2 files changed
+2

No files matched your search

+1
View File
@@ -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 {