Skip to content

Fix testing for pipeline consumer branch #1588

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 17 commits into from
Oct 26, 2021
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ public PsesInternalHost(
Name = "PSES Pipeline Execution Thread",
};

_pipelineThread.SetApartmentState(ApartmentState.STA);
if (VersionUtils.IsWindows)
{
_pipelineThread.SetApartmentState(ApartmentState.STA);
Copy link
Member

Choose a reason for hiding this comment

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

Oops!!

}

PublicHost = new EditorServicesConsolePSHost(this);
Name = hostInfo.Name;
Expand Down