File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ internal PSOutputStreams(Worker worker)
3333 SetStreamHandlers ( ) ;
3434 }
3535
36- internal void AddOutput ( PSOutputData data ) => OutputPipe . Add ( data ) ; //, Token);
36+ internal void AddOutput ( PSOutputData data ) => OutputPipe . Add ( data ) ;
3737
3838 private void SetStreamHandlers ( )
3939 {
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ private async Task ProcessAnyAsync()
9898 internal CancellationTokenRegistration RegisterCancellation ( Action callback ) =>
9999 Token . Register ( callback ) ;
100100
101- internal async Task WaitOnCancel ( ) => await Task . WhenAll ( _tasks ) ;
101+ internal async Task WaitOnCancelAsync ( ) => await Task . WhenAll ( _tasks ) ;
102102
103103 public void Dispose ( )
104104 {
Original file line number Diff line number Diff line change @@ -79,14 +79,14 @@ private async Task Start()
7979 }
8080 catch
8181 {
82- await _runspacePool . WaitOnCancel ( ) ;
82+ await _runspacePool . WaitOnCancelAsync ( ) ;
8383 }
8484 }
8585
8686 public void Dispose ( )
8787 {
88- _inputQueue . Dispose ( ) ;
8988 OutputStreams . Dispose ( ) ;
89+ _inputQueue . Dispose ( ) ;
9090 _cts . Dispose ( ) ;
9191 _runspacePool . Dispose ( ) ;
9292 GC . SuppressFinalize ( this ) ;
You can’t perform that action at this time.
0 commit comments