File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/monitoring Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -200,11 +200,11 @@ export class OutputMonitor extends Disposable implements IOutputMonitor {
200200 lastBufferLength = currentBufferLength ;
201201 }
202202
203- const isInactive = execution . isActive && ( ( await execution . isActive ( ) ) === false ) ;
204- const isActive = execution . isActive && ( ( await execution . isActive ( ) ) === true ) ;
205203 const noNewData = noNewDataCount >= PollingConsts . MinNoDataEvents ;
204+ const isInactive = noNewData || execution . isActive && ( ( await execution . isActive ( ) ) === false ) ;
205+ const isActive = execution . isActive && ( ( await execution . isActive ( ) ) === true ) ;
206206
207- if ( noNewData || isInactive ) {
207+ if ( isInactive ) {
208208 this . _state = OutputMonitorState . Idle ;
209209 break ;
210210 }
You can’t perform that action at this time.
0 commit comments