public function unsetContentObject(): void
    {
        if ($this->getContentObject() === null) {
            return;
        }
        $this->materializeNodeDataAsNeeded();
        $this->nodeData->unsetContentObject();

        $this->context->getFirstLevelNodeCache()->flush();
        $this->emitNodeUpdated($this);
    }