[find in files] IJPL-198849 don't dispose searchDisposable on maxResCount achieved to prevent disposing UsageInfoModels

GitOrigin-RevId: 58cc91cc90276c25f3eee5cb7136b995bfdd5007
This commit is contained in:
Vera Petrenkova
2025-08-19 15:48:59 +00:00
committed by intellij-monorepo-bot
parent cc15c88526
commit a3983498f8
@@ -100,7 +100,6 @@ open class FindAndReplaceExecutorImpl(val coroutineScope: CoroutineScope) : Find
val shouldContinue = onResult(usage)
if (!shouldContinue) {
Disposer.dispose(searchDisposable)
return@collect
}
}