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:
commit
e3f4278d59
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user