Skip to content

Commit

Permalink
Update TROUBLESHOOT.md
Browse files Browse the repository at this point in the history
  • Loading branch information
polina-c authored Jul 19, 2023
1 parent 8f55931 commit 0862c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/TROUBLESHOOT.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ referenced from it will also become unreachable, and thus available for garbage
Remember, not all leaks are detected, but for
[the leak tracked objects]([staticX -> A -> B](https://github.com/dart-lang/leak_tracker/blob/main/doc/DETECT.md#by-tracked-classes))
only. So, if you just release the
reference to disposed object, you will fix the detected leak and hide undetected ones.
reference to disposed object, you will fix the detected leak and hide the undetected ones.

And, there is no point to release reference to child inside the method `dispose` of the parent, because
not needed parent should be released together with its disposal. If
Expand Down

0 comments on commit 0862c4b

Please sign in to comment.