init player when receiving a header message

This commit is contained in:
badaix 2016-01-31 23:56:28 +01:00
parent 94944681c2
commit 7b1323646f
12 changed files with 149 additions and 117 deletions

View file

@ -35,6 +35,7 @@ ClientConnection::ClientConnection(MessageReceiver* receiver, const std::string&
ClientConnection::~ClientConnection()
{
stop();
}
@ -113,6 +114,7 @@ void ClientConnection::stop()
{
}
readerThread_ = NULL;
socket_.reset();
logD << "readerThread terminated\n";
}