dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fda665
)
Make sure ForkController nukes any connection resources that backends might have...
author
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 9 Mar 2012 22:59:13 +0000
(22:59 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Fri, 9 Mar 2012 22:59:13 +0000
(22:59 +0000)
includes/ForkController.php
patch
|
blob
|
history
diff --git
a/includes/ForkController.php
b/includes/ForkController.php
index
2ada714
..
8649fe7
100644
(file)
--- 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;
}