We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95715ed commit 9974c7dCopy full SHA for 9974c7d
src/PowerShellEditorServices/Services/PowerShell/Host/PsesInternalHost.cs
@@ -1261,7 +1261,12 @@ internal void OnPowerShellIdle(CancellationToken idleCancellationToken)
1261
1262
// If we're executing a PowerShell task, we don't need to run an extra pipeline
1263
// later for events.
1264
- runPipelineForEventProcessing = task is not ISynchronousPowerShellTask;
+ if (task is ISynchronousPowerShellTask)
1265
+ {
1266
+ // We don't ever want to set this to true here, just skip if it had
1267
+ // previously been set true.
1268
+ runPipelineForEventProcessing = false;
1269
+ }
1270
ExecuteTaskSynchronously(task, cancellationScope.CancellationToken);
1271
}
1272
0 commit comments