Remove incorrect MutexAutoLock
The line declared a variable "m_con" instead of locking m_con. getClient() doesn't need this anyway, so remove it.master
parent
0b5c5499ec
commit
5c9983400f
|
@ -309,11 +309,7 @@ void Server::handleCommand_Init2(NetworkPacket* pkt)
|
||||||
// Send media announcement
|
// Send media announcement
|
||||||
sendMediaAnnouncement(pkt->getPeerId(), lang);
|
sendMediaAnnouncement(pkt->getPeerId(), lang);
|
||||||
|
|
||||||
RemoteClient *client;
|
RemoteClient *client = getClient(pkt->getPeerId(), CS_InitDone);
|
||||||
{
|
|
||||||
MutexAutoLock(m_con);
|
|
||||||
client = getClient(pkt->getPeerId(), CS_InitDone);
|
|
||||||
}
|
|
||||||
|
|
||||||
// Send active objects
|
// Send active objects
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue