From e22fb2e6c0f1dbec70e14856fda6e64d7d62e779 Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Thu, 5 Sep 2024 19:48:03 +0100 Subject: [PATCH] w --- src/Plugins/Only.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Plugins/Only.php b/src/Plugins/Only.php index a8bf7b3e..503f8ed0 100644 --- a/src/Plugins/Only.php +++ b/src/Plugins/Only.php @@ -28,6 +28,10 @@ final class Only implements Terminable */ public function terminate(): void { + if (Parallel::isWorker()) { + return; + } + $lockFile = self::TEMPORARY_FOLDER.DIRECTORY_SEPARATOR.'only.lock'; if (file_exists($lockFile)) {