public function commit()
    {
        if ($this->disabled) {
            return;
        }
        foreach ($this->activePublishers as $key => $publisher) {
            $publisher->publish();
        }
        $this->activePublishers = [];
    }