src/Leevel/Session/Session.php
public function destroy(): void
    {
        $this->clear();
        $this->connect->destroy($this->getId());

        $this->id = null;
        $this->started = false;
    }
public function destroy(): void
    {
        $this->clear();
        $this->connect->destroy($this->getId());

        $this->id = null;
        $this->started = false;
    }
终止会话.