...Человеческий поиск в разработке...
- Модуль: bizproc
- Путь к файлу: ~/bitrix/modules/bizproc/classes/general/runtime.php
- Класс: CBPRuntime
- Вызов: CBPRuntime::stopRuntime
public function stopRuntime() { if (!$this->isStarted) { return; } /** @var CBPWorkflow $workflow */ foreach ($this->workflows as $key => $workflow) { $workflow->OnRuntimeStopped(); } foreach ($this->services as $serviceId => $service) { $service->stop(); } $this->isStarted = false; }