public function destroy()
    {
        $this->manialink = null;
        $this->manialinkFactory = null;
        $this->dataCollection = null;

        // There is cyclic dependency between actions and model, remove it so that memory can be freed immediately.
        $this->actionFirstPage = null;
        $this->actionGotoPage = null;
        $this->actionLastPage = null;
        $this->actionNextPage = null;
        $this->temporaryActions = [];
        $this->temporaryEntries = [];
    }