• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/session/compositesessionmanager.php
  • Класс: BitrixMainSessionCompositeSessionManager
  • Вызов: CompositeSessionManager::destroy
public function destroy(): void
{
	$this->start();

	if ($this->kernelSession instanceof KernelSessionProxy)
	{
		$this->kernelSession->destroy();

		return;
	}

	$this->kernelSession->destroy();
	$this->session->destroy();
}