mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
'FindAndReplaceExecutorImpl' is using 'Job.cancel' to stop an ongoing 'FindInProjectUtil.findUsages' task. 'FindInProjectUtil' sets an additional EmptyProjectIndicator into the context, that never gets canceled. Without the 'Job' propagation in the 'FilesScanExecutor', only the 'main' thread gets canceled, leaving the pooled workers running. (cherry picked from commit 65f7029836f92770cebfa38632ca95418c5ecd24) IJ-CR-176933 GitOrigin-RevId: 4bb055f1ef74c4b6589991e52bc1778a6695f4c5