dispose method

  1. @override
void dispose()
override

Disposes of the resources associated with this signal, executing the onDisposeCallback.

Implementation

@override
void dispose() {
  if (isDisposed) return;
  _currentExecutionId++;
  _cancelActive();
  clearDependencies();
  super.dispose();
}