Make sure ForkController nukes any connection resources that backends might have...
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 9 Mar 2012 22:59:13 +0000 (22:59 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 9 Mar 2012 22:59:13 +0000 (22:59 +0000)
includes/ForkController.php

index 2ada714..8649fe7 100644 (file)
@@ -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;
        }