unregister static method

void unregister(
  1. Rx rx
)

Unregister a reactive value and clean up its timers/subscriptions. Called automatically by Rx.dispose().

Implementation

static void unregister(Rx rx) {
  final data = _timingRegistry.remove(rx);
  data?.cleanup();
}