-
Notifications
You must be signed in to change notification settings - Fork 3.8k
[go_router] Fix some leaks discovered by leak_tracker_flutter_testing
#6210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
polina-c
merged 18 commits into
flutter:main
from
ValentinVignal:go-router/test/add-leak-tracker
Mar 15, 2024
Merged
Changes from 12 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
bb74f86
fix: Dispose disposable
ValentinVignal 216661e
chore: Add leak_tracker_flutter_testing
ValentinVignal 1b27f12
test: Fix the tests
ValentinVignal 5d24963
doc: Update changelog and version
ValentinVignal 05ea74e
Merge branch 'main' into go-router/test/add-leak-tracker
polina-c f180422
chore: Use any version for leak_tracker_flutter_testing
ValentinVignal ff92e8f
Merge remote-tracking branch 'upstream/main' into go-router/test/add-…
ValentinVignal b19ec63
Merge branch 'main' into go-router/test/add-leak-tracker
ValentinVignal 65d563e
Merge remote-tracking branch 'upstream/main' into go-router/test/add-…
ValentinVignal c8d3646
test: Disable leak tracking
ValentinVignal acab33b
chore: Increase version numbers
ValentinVignal 41b8cd3
Merge remote-tracking branch 'upstream/main' into go-router/test/add-…
ValentinVignal 3474a05
chore: Upgrade dart sdk dependency
ValentinVignal 0c94727
Merge remote-tracking branch 'upstream/main' into go-router/test/add-…
ValentinVignal 8fd4c4b
chore: Remove package_info_plus_web dependency
ValentinVignal b6f8dfa
Merge branch 'main' into go-router/test/add-leak-tracker
ValentinVignal 081b183
doc: Update the changelog to specify the new flutter and dart versions
ValentinVignal 5e08786
Merge remote-tracking branch 'upstream/main' into go-router/test/add-…
ValentinVignal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,7 @@ publish_to: none | |
|
|
||
| environment: | ||
| sdk: ^3.1.0 | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You'll need to change this to match (3.2.0), which is why CI is failing. |
||
| flutter: ">=3.13.0" | ||
| flutter: ">=3.16.0" | ||
|
|
||
| dependencies: | ||
| adaptive_navigation: ^0.0.4 | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -97,6 +97,7 @@ void main() { | |
| ) | ||
| ], | ||
| ); | ||
| addTearDown(router.dispose); | ||
|
|
||
| await tester.pumpWidget( | ||
| MaterialApp.router( | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is no longer accurate.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops sorry about that.
I updated it in doc: Update the changelog to specify the new flutter and dart versions