src/core/AbstractApp.php
private function stopCustomProcess(): void
    {
        if ($this->isCustomProcessSet()) {
            $this->getCustomProcess()->stop();
        } elseif (class_exists('\extensions\core\Process')) {
            \extensions\core\Process::getInstance()->stop();
        }
    }
private function stopCustomProcess(): void
    {
        if ($this->isCustomProcessSet()) {
            $this->getCustomProcess()->stop();
        } elseif (class_exists('\extensions\core\Process')) {
            \extensions\core\Process::getInstance()->stop();
        }
    }
The method kills custom process.
@return void