onStop method
Called when the owning ZenithContainer or ZenithRef scope is disposed/reset.
Implementation
@override
Future<void> onStop() async {
_timer?.cancel();
_timer = null;
_ref = null;
await _inFlight;
}
Called when the owning ZenithContainer or ZenithRef scope is disposed/reset.
@override
Future<void> onStop() async {
_timer?.cancel();
_timer = null;
_ref = null;
await _inFlight;
}