Merge branch '2.3' into 2.7

* 2.3:
  [HttpKernel] clearstatcache() so the Cache sees when a .lck file has been released
This commit is contained in:
Fabien Potencier 2015-11-28 12:02:41 +01:00
commit e3f4278d59

View File

@ -110,7 +110,10 @@ class Store implements StoreInterface
public function isLocked(Request $request)
{
return is_file($this->getPath($this->getCacheKey($request).'.lck'));
$path = $this->getPath($this->getCacheKey($request).'.lck');
clearstatcache(true, $path);
return is_file($path);
}
/**