X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FForkController.php;h=4a021ee1e5a65da4d150dd534930266c49a52282;hb=3a15ecebea7c560e01f81b7145f2cc32bb167c5f;hp=05822302efaa58aaebd4fd13d215f6a811266132;hpb=adbadb9ee62284d70d9e7763379ab3b4eb6bde6f;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 ) {