X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FForkController.php;h=4a021ee1e5a65da4d150dd534930266c49a52282;hb=47a052b797ef8ef650aa799261c984f6abc295d8;hp=05822302efaa58aaebd4fd13d215f6a811266132;hpb=ee3945f26ba8b5e1c30a3704426235d16b1b8fa7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ForkController.php b/includes/ForkController.php index 05822302ef..4a021ee1e5 100644 --- a/includes/ForkController.php +++ b/includes/ForkController.php @@ -153,13 +153,16 @@ class ForkController { wfGetLBFactory()->destroyInstance(); FileBackendGroup::destroySingleton(); LockManagerGroup::destroySingletons(); + JobQueueGroup::destroySingletons(); ObjectCache::clear(); + RedisConnectionPool::destroySingletons(); $wgMemc = null; } /** * Fork a number of worker processes. * + * @param int $numProcs * @return string */ protected function forkWorkers( $numProcs ) {