Fix #106116, collectWorkspaceStats() can hang
This commit is contained in:
parent
4b4f335f26
commit
68089c3062
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ export async function collectWorkspaceStats(folder: string, filter: string[]): P
|
|||
return;
|
||||
}
|
||||
|
||||
if (token.count > MAX_FILES) {
|
||||
if (token.count >= MAX_FILES) {
|
||||
token.count += files.length;
|
||||
token.maxReached = true;
|
||||
resolve();
|
||||
|
|
Loading…
Reference in a new issue