nl_tokens: A synchronous version of destroy . Note that we track whether destroy calls are in progress and only remove the element if we are not a nested call .
pl_tokens: function destroySync ( <mask> , removeNode = true ) { syncDestructionsInProgressCounter ++ destroyChildComponents ( component . virtualNode ) if ( syncDestructionsInProgressCounter === 1 && removeNode ) component . element . remove ( ) syncDestructionsInProgressCounter -- }