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 cad2aa7 commit 73dddcaCopy full SHA for 73dddca
src/PowerShellEditorServices/Server/PsesDebugServer.cs
@@ -119,7 +119,7 @@ public void Dispose()
119
// It represents the debugger on the PowerShell process we're in,
120
// while a new debug server is spun up for every debugging session
121
_psesHost.DebugContext.IsDebugServerActive = false;
122
- _debugAdapterServer.Dispose();
+ _debugAdapterServer?.Dispose();
123
_inputStream.Dispose();
124
_outputStream.Dispose();
125
_serverStopped.SetResult(true);
0 commit comments