Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
d29cd9be
Unverified
Commit
d29cd9be
authored
Oct 20, 2020
by
Jenn Magder
Committed by
GitHub
Oct 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up device logger and port forwarding on drive completion (#68655)
parent
8b799068
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
drive.dart
packages/flutter_tools/lib/src/commands/drive.dart
+2
-0
drive_test.dart
...lutter_tools/test/commands.shard/hermetic/drive_test.dart
+3
-0
No files found.
packages/flutter_tools/lib/src/commands/drive.dart
View file @
d29cd9be
...
...
@@ -386,6 +386,8 @@ $ex
globals
.
printStatus
(
'Stopping application instance.'
);
await
appStopper
(
this
,
package
);
}
await
device
?.
dispose
();
}
return
FlutterCommandResult
.
success
();
...
...
packages/flutter_tools/test/commands.shard/hermetic/drive_test.dart
View file @
d29cd9be
...
...
@@ -228,6 +228,7 @@ void main() {
'10'
,
];
await
createTestCommandRunner
(
command
).
run
(
args
);
verify
(
mockDevice
.
dispose
());
expect
(
testLogger
.
errorText
,
isEmpty
);
},
overrides:
<
Type
,
Generator
>{
FileSystem:
()
=>
fs
,
...
...
@@ -529,6 +530,7 @@ void main() {
prebuiltApplication:
false
,
userIdentifier:
anyNamed
(
'userIdentifier'
),
));
verify
(
mockDevice
.
dispose
());
},
overrides:
<
Type
,
Generator
>{
FileSystem:
()
=>
fs
,
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
...
...
@@ -558,6 +560,7 @@ void main() {
prebuiltApplication:
false
,
userIdentifier:
anyNamed
(
'userIdentifier'
),
));
verify
(
mockDevice
.
dispose
());
},
overrides:
<
Type
,
Generator
>{
FileSystem:
()
=>
fs
,
ProcessManager:
()
=>
FakeProcessManager
.
any
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment