Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Remove unnecessary cleanup on diagnostics server thread during shutdown#27136

Merged
jkotas merged 2 commits intodotnet:masterfrom
sywhang:dev/suwhang/27128
Oct 11, 2019
Merged

Remove unnecessary cleanup on diagnostics server thread during shutdown#27136
jkotas merged 2 commits intodotnet:masterfrom
sywhang:dev/suwhang/27128

Conversation

@sywhang
Copy link

@sywhang sywhang commented Oct 11, 2019

During shutdown, we are doing unnecessary cleanup of the process by cleaning up threads, etc when this could be done by the OS with the process exit.

This should fix https://github.com/dotnet/coreclr/issues/27128.

cc @jkotas

@sywhang sywhang requested review from josalem and noahfalk October 11, 2019 00:17
Copy link
Member

@noahfalk noahfalk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@josalem josalem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Let's circle back and add an envvar or similar mechanism for disabling the Diagnostics Server as well.

@sywhang
Copy link
Author

sywhang commented Oct 11, 2019

Let's circle back and add an envvar or similar mechanism for disabling the Diagnostics Server as well.

Here: #27137

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Environment.Exit hanging in RemoteExecutor

4 participants