Skip to content

Commit

Permalink
Update TROUBLESHOOT.md
Browse files Browse the repository at this point in the history
  • Loading branch information
polina-c committed Aug 28, 2024
1 parent 89515cf commit 3879e35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/leak_tracking/TROUBLESHOOT.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Follow the rules to avoid/fix notGCed and notDisposed leaks:
release the references before the owner disposed the object.

**Flutter specific rules:**
1. If a widget creates disposables (loke controller), it should be stateful, to be able to dispose the disposables.
1. If a widget creates disposables (like controller), it should be stateful, to be able to dispose the disposables.

**Test specific rules:**
1. If your test creates a disposable object, it should dispose it in `tearDown`, so that test failure does not result in a leak:
Expand Down

0 comments on commit 3879e35

Please sign in to comment.