dispose method

void dispose()

Implementation

void dispose() {
  if (_statsTimer == null) return;

  _statsTimer?.cancel();
  _statsTimer = null;

  _senders.clear();
  _receivers.clear();
}