Abort the state change of the element.
This function is used by elements that do asynchronous state changes and find out something is wrong.
This function should be called with the STATE_LOCK held.
MT safe.
this |
a Element to abort the state of. |