Skip to content

[flutter_tools] fix port leak in flutter_driver#70999

Merged
jonahwilliams merged 1 commit intoflutter:masterfrom
jonahwilliams:no_driver_indirection
Nov 21, 2020
Merged

[flutter_tools] fix port leak in flutter_driver#70999
jonahwilliams merged 1 commit intoflutter:masterfrom
jonahwilliams:no_driver_indirection

Conversation

@jonahwilliams
Copy link
Contributor

Description

The connect URI method in flutter driver was leaking a port. Fix this so that the tool does not need to run through pub.

Fixes #70983

@flutter-dashboard flutter-dashboard bot added a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. tool Affects the "flutter" command-line tool. See also t: labels. labels Nov 21, 2020
@google-cla google-cla bot added the cla: yes label Nov 21, 2020
Copy link
Contributor

@dnfield dnfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I wonder if this was causing some of the hangs we were seeing.

@jonahwilliams
Copy link
Contributor Author

Probably, though I think the other problems were caused by running through pub

@jonahwilliams jonahwilliams merged commit cf6c33e into flutter:master Nov 21, 2020
@jonahwilliams jonahwilliams deleted the no_driver_indirection branch November 21, 2020 22:04
@dluksza
Copy link

dluksza commented Nov 21, 2020

Will this be cherry-picked to 1.24?

@jonahwilliams
Copy link
Contributor Author

1.24 is not released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a: tests "flutter test", flutter_test, or one of our tests framework flutter/packages/flutter repository. See also f: labels. tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[flutter_driver] Driver tests won't start when project have a path dependency (1.24)

3 participants