Skip to content

Commit d554567

Browse files
Merge branch '4.4' into 5.0
* 4.4: [Debug] fix ClassNotFoundFatalErrorHandler [Routing] Fix using a custom matcher & generator dumper class [Serializer] Fix cache in MetadataAwareNameConverter [Dotenv] Fixed infinite loop with missing quote followed by quoted value [HttpClient] Added missing sprintf [TwigBridge] button_widget now has its title attr translated even if its label = null or false [PhpUnitBridge] When using phpenv + phpenv-composer plugin, composer executable is wrapped into a bash script [Messenger] Added check if json_encode succeeded [Messenger] Added check if json_encode succeeded [FrameworkBundle][ContainerLintCommand] Only skip .errored. services [HttpClient] fix exception in case of PSR17 discovery failure [DependencyInjection] Handle ServiceClosureArgument for callable in container linting fix processing chain adapter based cache pool [HttpKernel] release lock explicitly [Security] Prevent canceled remember-me cookie from being accepted [FrameworkBundle][TranslationUpdateCommand] Do not output positive feedback on stderr [Security\Guard] Fix missing typehints do not render preferred choices as selected
2 parents 6fbb768 + a76b4f5 commit d554567

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Kernel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ public function write(string $content, array $metadata = null)
475475
}
476476
}
477477

478-
public function __destruct()
478+
public function release()
479479
{
480480
flock($this->lock, LOCK_UN);
481481
fclose($this->lock);
@@ -553,7 +553,7 @@ public function __destruct()
553553
}
554554

555555
$this->dumpContainer($cache, $container, $class, $this->getContainerBaseClass());
556-
unset($cache);
556+
$cache->release();
557557
$this->container = require $cachePath;
558558
$this->container->set('kernel', $this);
559559

0 commit comments

Comments
 (0)