mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Writing to User->sState requires holding qrwlVoiceThread.
This commit is contained in:
parent
9dfca42ab9
commit
80c6e311e2
@ -279,7 +279,11 @@ void Server::msgAuthenticate(ServerUser *uSource, MumbleProto::Authenticate &msg
|
||||
|
||||
userEnterChannel(uSource, lc, mpus);
|
||||
|
||||
uSource->sState = ServerUser::Authenticated;
|
||||
{
|
||||
QWriteLocker wl(&qrwlVoiceThread);
|
||||
uSource->sState = ServerUser::Authenticated;
|
||||
}
|
||||
|
||||
mpus.set_session(uSource->uiSession);
|
||||
mpus.set_name(u8(uSource->qsName));
|
||||
if (uSource->iId >= 0) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user