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.
NullReferenceException
1 parent d7b9f82 commit 4e456f0Copy full SHA for 4e456f0
PSReadLine/ReadLine.cs
@@ -210,7 +210,7 @@ internal static PSKeyInfo ReadKey()
210
bool runPipelineForEventProcessing = false;
211
foreach (var sub in eventSubscribers)
212
{
213
- if (sub.SourceIdentifier.Equals(PSEngineEvent.OnIdle, StringComparison.OrdinalIgnoreCase))
+ if (string.Equals(sub.SourceIdentifier, PSEngineEvent.OnIdle, StringComparison.OrdinalIgnoreCase))
214
215
// If the buffer is not empty, let's not consider we are idle because the user is in the middle of typing something.
216
if (_singleton._buffer.Length > 0)
0 commit comments