Fix valgrind uninitialized
This commit is contained in:
parent
aa1bb720e3
commit
e326d7bcfd
@ -69,6 +69,7 @@ engine.
|
|||||||
ClientLobby::ClientLobby(const TransportAddress& a, std::shared_ptr<Server> s)
|
ClientLobby::ClientLobby(const TransportAddress& a, std::shared_ptr<Server> s)
|
||||||
: LobbyProtocol(NULL)
|
: LobbyProtocol(NULL)
|
||||||
{
|
{
|
||||||
|
m_state.store(NONE);
|
||||||
m_server_address = a;
|
m_server_address = a;
|
||||||
m_server = s;
|
m_server = s;
|
||||||
setHandleDisconnections(true);
|
setHandleDisconnections(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user