Пример #1
0
 public function __destruct()
 {
     if (!$this->processManager->isParent()) {
         return;
     }
     $this->logger->debug(sprintf('Shutting down ... waiting for %d children to exit', $this->processManager->getChildrenCount()));
     $this->processManager->shutdownAllChildren();
     $this->releaseLock();
 }