Fix greplog on force stopping
This commit is contained in:
parent
41e57d04f2
commit
8983dd2800
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue