detachContext method

void detachContext()
inherited

Detaches the group context when this node is removed from the controller.

This is called by the controller when removing the node from the graph. Disposes all MobX reactions and clears the context.

Implementation

void detachContext() {
  onContextDetaching();

  _disposeReactions();
  _groupContext = null;
}