Skip to content

Commit 266a00c

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 <hey@morrisjobke.de>
1 parent 87f8a09 commit 266a00c

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
@@ -166,7 +166,6 @@ public function process(string $root, string $file, string $app): bool {
166166
while ($retry < 10) {
167167
if (!$this->variablesChanged() && $this->isCached($fileNameCSS, $app)) {
168168
// Inject icons vars css if any
169-
$this->lockingCache->remove($lockKey);
170169
$this->logger->debug('SCSSCacher: ' .$lockKey.' is now available after '.$retry.'s. Moving on...', ['app' => 'core']);
171170
return $this->injectCssVariablesIfAny();
172171
}

0 commit comments

Comments
 (0)