Skip to content

Wait for debugger thread to exit (case 1180399, case 1189077) #1234

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 10, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions mono/mini/debugger-agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -1842,6 +1842,8 @@ stop_debugger_thread (void)
mono_coop_cond_wait (&debugger_thread_exited_cond, &debugger_thread_exited_mutex);
mono_coop_mutex_unlock (&debugger_thread_exited_mutex);
} while (!debugger_thread_exited);

mono_native_thread_join (debugger_thread_id);
}

transport_close2 ();
Expand Down