Fixing debugger startup race.

This commit is contained in:
Ben Vanik
2015-07-29 19:52:53 -07:00
parent 19901c4759
commit 122114d1d1
10 changed files with 78 additions and 11 deletions

View File

@@ -44,6 +44,8 @@ bool MIServer::Initialize() {
return true;
}
void MIServer::PostSynchronous(std::function<void()> fn) { assert_always(); }
void MIServer::AcceptClient(std::unique_ptr<Socket> client) {
// If we have an existing client, kill it and join its thread.
if (client_) {