Skip to content

Commit 6427f9f

Browse files
authored
Update PSStandard dependency (#771)
1 parent 30010f7 commit 6427f9f

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/PowerShellEditorServices/PowerShellEditorServices.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</PropertyGroup>
1414
<ItemGroup>
1515
<PackageReference Include="Microsoft.CSharp" Version="4.5.0" />
16-
<PackageReference Include="PowerShellStandard.Library" Version="5.1.0-preview-06" PrivateAssets="All"/>
16+
<PackageReference Include="PowerShellStandard.Library" Version="5.1.0-RC1" PrivateAssets="All"/>
1717
<PackageReference Include="UnixConsoleEcho" Version="0.1.0" />
1818
<PackageReference Include="Serilog" Version="2.7.1" />
1919
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />

src/PowerShellEditorServices/Session/InvocationEventQueue.cs

-5
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,6 @@ private void OnInvokerUnsubscribed(object sender, PSEventUnsubscribedEventArgs e
225225
CreateInvocationSubscriber();
226226
}
227227

228-
private void OnInvokerUnsubscribed(object sender, PSEventArgs e)
229-
{
230-
CreateInvocationSubscriber();
231-
}
232-
233228
private void SetSubscriberExecutionThreadWithReflection(PSEventSubscriber subscriber)
234229
{
235230
// We need to create the PowerShell object in the same thread so we can get a nested

0 commit comments

Comments
 (0)