protected $termReceived = false;
protected $flags = 0, $procsToStart = 0;
protected $termReceived = false;
protected $flags = 0, $procsToStart = 0;
- pcntl_signal( SIGTERM, array( $this, 'handleTermSignal' ), false );
+ pcntl_signal( SIGTERM, [ $this, 'handleTermSignal' ], false );
protected function prepareEnvironment() {
global $wgMemc;
// Don't share DB, storage, or memcached connections
protected function prepareEnvironment() {
global $wgMemc;
// Don't share DB, storage, or memcached connections
FileBackendGroup::destroySingleton();
LockManagerGroup::destroySingletons();
JobQueueGroup::destroySingletons();
FileBackendGroup::destroySingleton();
LockManagerGroup::destroySingletons();
JobQueueGroup::destroySingletons();