mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-26 08:14:26 +00:00
Save cache after the shutdown hook runs. fixes #2232
git-svn-id: https://develop.svn.wordpress.org/trunk@3411 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -333,6 +333,8 @@ class WP_Object_Cache {
|
||||
}
|
||||
}
|
||||
|
||||
$this->dirty_objects = array();
|
||||
|
||||
// Release write lock.
|
||||
flock($mutex, LOCK_UN);
|
||||
fclose($mutex);
|
||||
|
||||
Reference in New Issue
Block a user