Skip to content

Commit b19063f

Browse files
Merge branch '4.4' into 5.0
* 4.4: [DoctrineBridge] [DX] Improve condition for exception text in ManagerRegistry to avoid confusion Fix testing with mongodb suggest a non-deprecated function replacement Minor Travis cosmetic patch [Cache] fix checking for igbinary availability [HttpKernel] Check if lock can be released Fixes a runtime error (Impossible to access an attribute ("value") on a double variable...) when accessing the cache panel (@see #35419) bumped Symfony version to 4.4.4 updated VERSION for 4.4.3 updated CHANGELOG for 4.4.3 bumped Symfony version to 4.3.11 updated VERSION for 4.3.10 updated CHANGELOG for 4.3.10 bumped Symfony version to 3.4.38 updated VERSION for 3.4.37 update CONTRIBUTORS for 3.4.37 updated CHANGELOG for 3.4.37 [FrameworkBundle] Add --show-arguments example to debug:container command help text
2 parents d3c8358 + 5520e64 commit b19063f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Kernel.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,10 @@ public function release()
553553
}
554554

555555
$this->dumpContainer($cache, $container, $class, $this->getContainerBaseClass());
556-
$cache->release();
556+
if (method_exists($cache, 'release')) {
557+
$cache->release();
558+
}
559+
557560
$this->container = require $cachePath;
558561
$this->container->set('kernel', $this);
559562

0 commit comments

Comments
 (0)