Modules using object_ref.

This commit is contained in:
Ben Vanik
2015-05-24 20:44:27 -07:00
parent fff1a7c132
commit 5cfb69434c
11 changed files with 63 additions and 94 deletions

View File

@@ -300,7 +300,9 @@ void Debugger::StopSession() {
shutdown(listen_socket_, SD_SEND);
closesocket(listen_socket_);
listen_socket_ = INVALID_SOCKET;
accept_thread_.join();
if (accept_thread_.joinable()) {
accept_thread_.join();
}
functions_file_.reset();
functions_trace_file_.reset();