Fix leak of clients in network remote.

This commit is contained in:
John Maguire 2013-02-18 14:53:37 +01:00
parent 68f6fd4900
commit f27abb820f
1 changed files with 1 additions and 0 deletions

View File

@ -101,6 +101,7 @@ void NetworkRemote::StopServer() {
outgoing_data_creator_.get()->DisconnectAllClients();
server_->close();
server_ipv6_->close();
qDeleteAll(clients_);
clients_.clear();
}
}