From a3983498f846250555d552e37e4f5f8a678ae3eb Mon Sep 17 00:00:00 2001 From: Vera Petrenkova Date: Tue, 19 Aug 2025 15:05:35 +0200 Subject: [PATCH] [find in files] IJPL-198849 don't dispose searchDisposable on maxResCount achieved to prevent disposing UsageInfoModels GitOrigin-RevId: 58cc91cc90276c25f3eee5cb7136b995bfdd5007 --- platform/find/src/FindAndReplaceExecutorImpl.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/platform/find/src/FindAndReplaceExecutorImpl.kt b/platform/find/src/FindAndReplaceExecutorImpl.kt index b6075f7c2a10..876f3db21225 100644 --- a/platform/find/src/FindAndReplaceExecutorImpl.kt +++ b/platform/find/src/FindAndReplaceExecutorImpl.kt @@ -100,7 +100,6 @@ open class FindAndReplaceExecutorImpl(val coroutineScope: CoroutineScope) : Find val shouldContinue = onResult(usage) if (!shouldContinue) { - Disposer.dispose(searchDisposable) return@collect } }