Skip to content

Commit

Permalink
Update orchestration.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
polina-c committed Jul 21, 2023
1 parent 6e3f57c commit 2e099ab
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/leak_tracker/lib/src/leak_tracking/orchestration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ class MemoryLeaksDetectedError extends StateError {
/// to analyse results.
///
/// [gcCountBuffer] is number of full GC cycles, enough for a non reachable object to be GCed.
///
/// If after this number of GC cycles a disposed object is still not garbage collected,
/// it is considered a notGCed leak.
/// Theoretically, the value 1 should be enough, but in practice for stale applications
/// it is too small. So, recommended value for applications is 3, and for tests is 1.
///
/// If you test Flutter widgets, connect their instrumentation to the leak
/// tracker:
Expand Down

0 comments on commit 2e099ab

Please sign in to comment.