Save cache after the shutdown hook runs. fixes #2232
git-svn-id: http://svn.automattic.com/wordpress/trunk@3411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
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