Skip to content

Commit 9273436

Browse files
committed
SCSSCacher - Lock should not be removed
This is within the failed lock acquiring branch. So the lock is free by another process and should not be removed because the cached file (that was created by the process having the lock) appeared on the filesystem. Signed-off-by: Morris Jobke <[email protected]>
1 parent 2456969 commit 9273436

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/private/Template/SCSSCacher.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,6 @@ public function process(string $root, string $file, string $app): bool {
169169
$this->logger->debug('SCSSCacher::process check in while loop follows', ['app' => 'scss_cacher']);
170170
if (!$this->variablesChanged() && $this->isCached($fileNameCSS, $app)) {
171171
// Inject icons vars css if any
172-
$this->lockingCache->remove($lockKey);
173172
$this->logger->debug("SCSSCacher::process cached file for app '$app' and file '$fileNameCSS' is now available after $retry s. Moving on...", ['app' => 'scss_cacher']);
174173
return $this->injectCssVariablesIfAny();
175174
}

0 commit comments

Comments
 (0)