Skip to content

Track output operations in InteractiveHost#49710

Draft
sharwell wants to merge 1 commit intodotnet:mainfrom
sharwell:track-operation
Draft

Track output operations in InteractiveHost#49710
sharwell wants to merge 1 commit intodotnet:mainfrom
sharwell:track-operation

Conversation

@sharwell
Copy link
Contributor

@sharwell sharwell commented Dec 1, 2020

Fixes #46414

// This could happen, for example, for writers provided by the Interactive Window,
// and in the case where the window is being disposed.
Task.Run(() =>
await Task.Run(() =>
Copy link
Member

@tmat tmat Dec 2, 2020

Choose a reason for hiding this comment

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

await [](start = 12, length = 5)

Could this cause the problem that's described in the comment above?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Only if the Process.Exited event is fired on the main thread.

Copy link
Member

Choose a reason for hiding this comment

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

Isn't that possible?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure currently. I'll think about alternate ways to handle this.

@sharwell sharwell marked this pull request as draft December 2, 2020 21:18
Base automatically changed from master to main March 3, 2021 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Flaky test 'InteractiveHostDesktopTests.StackOverflow'

3 participants