Call job removal more often in non-interactive mode, increases performance when parsing long files

darcs-hash:20051008020230-ac50b-02dadff9318f3572ee335a307aba0ac39bc6c5a9.gz
This commit is contained in:
axel 2005-10-08 12:02:30 +10:00
parent 929519cb0f
commit bc0bd35385

View file

@ -1822,7 +1822,7 @@ static void eval_job( tokenizer *tok )
}
}
if(( is_subshell || is_block ) && (!is_event))
if(( is_subshell || is_block || !is_interactive) /*&& (!is_event)*/)
job_do_notification();
// debug( 2, L"end eval_job()\n" );
}