src/xblocks/block.js
function lifecycleRemoved() {
    this[ Constants.INSERTED ] = false;

    const block = this[ Constants.BLOCK ];

    if (block) {
        block.destroy();
        this[ Constants.BLOCK ] = undefined;
    }
}
function lifecycleRemoved() {
    this[ Constants.INSERTED ] = false;

    const block = this[ Constants.BLOCK ];

    if (block) {
        block.destroy();
        this[ Constants.BLOCK ] = undefined;
    }
}
The callback of the remote in DOM.
@this HTMLElement
@private