Fix greplog on force stopping

This commit is contained in:
Chayapak 2024-10-22 16:03:28 +07:00
parent 41e57d04f2
commit 8983dd2800

View file

@ -49,7 +49,10 @@ public class GrepLogPlugin {
final StringBuilder result = new StringBuilder();
for (Path filePath : fileList) {
if (!running) return;
if (!running) {
pattern = null;
return;
}
if (count > 1_000_000) break;