This repository was archived by the owner on Jan 23, 2023. It is now read-only.
[release/3.1] use background thread to wait for address changes on OSX (#41768)#41960
Merged
danmoseley merged 1 commit intodotnet:release/3.1from Oct 21, 2019
Merged
Conversation
* use background thread to wait for address changes on OSX * remove RemoteExecutor * update comment
Member
Author
|
@stephentoub I have a conflict of interest. Do you support this backport? |
Member
|
Yeah, it's reasonable. Thanks. |
|
Hello @danmosemsft! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
|
Thanks @danmosemsft! |
Member
Author
|
Failure was This is clearly not related. @ViktorHofer do you expect the UAP leg to work normally in release/3.1, unaffected by your recent changes? merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Use background thread to wait for address changes on OSX to avoid hang after:
ports #41768
fixes #41740
Customer Impact:
Requested by @davidfowl : "We found this when we noticed that applications which use AppInsights don't close when they would normally exit on a Mac. This isn't noticed normally because the normal workflow for AspNetCore apps is that when you want the server to exit you send Ctrl-C."
Regression?
No.
Risk
Very low. The fix is just changing a thread to Background, and the only effect of that is to prevent the runtime joining on it before terminating.
Tests run / added
Test added.