You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected: leak free
Actual: <Instance of 'Leaks'>
Which: contains leaks:
# The text is generated by leak_tracker.
# For leak troubleshooting tips open:
# https://github.com/dart-lang/leak_tracker/blob/main/doc/TROUBLESHOOT.md
notDisposed:
total: 1
objects:
StatefulElement:
test: Example
identityHashCode: 470187304
I assume the issue is that if an exception happens in initState, State.dispose never gets called.
The text was updated successfully, but these errors were encountered:
Hello!
Consider the following test:
This will fail with:
I assume the issue is that if an exception happens in
initState
,State.dispose
never gets called.The text was updated successfully, but these errors were encountered: