function destroyTree(treeId) {
    const treeModel = this.getTree(treeId)

    if (treeModel === null) {
        warning(false, oneLine`