walkor 2 жил өмнө
parent
commit
1319106718
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      src/Worker.php

+ 1 - 0
src/Worker.php

@@ -952,6 +952,7 @@ class Worker
                     // Echo status data.
                     static::safeEcho(static::formatStatusData($statisticsFile));
                     if ($mode !== '-d') {
+                        @\unlink($statisticsFile);
                         exit(0);
                     }
                     static::safeEcho("\nPress Ctrl+C to quit.\n\n");