From: Aaron Schulz Date: Fri, 9 Mar 2012 22:59:13 +0000 (+0000) Subject: Make sure ForkController nukes any connection resources that backends might have... X-Git-Tag: 1.31.0-rc.0~24310 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=4bfce6a539dee769fd88625771417f2d7dbeb599;p=lhc%2Fweb%2Fwiklou.git Make sure ForkController nukes any connection resources that backends might have before forking --- diff --git a/includes/ForkController.php b/includes/ForkController.php index 2ada714183..8649fe7167 100644 --- a/includes/ForkController.php +++ b/includes/ForkController.php @@ -117,8 +117,9 @@ class ForkController { protected function prepareEnvironment() { global $wgMemc; - // Don't share DB or memcached connections + // Don't share DB, storage, or memcached connections wfGetLBFactory()->destroyInstance(); + FileBackendGroup::destroySingleton(); ObjectCache::clear(); $wgMemc = null; }