Unverified Commit 2f4299ad authored by Danny Tuppeny's avatar Danny Tuppeny Committed by GitHub

[flutter_tools] Remove unused parameter when connected DAP to VM Service (#108285)

Since https://github.com/dart-lang/sdk/commit/02d9c3e6a586ad47909262931375f25abb34b4e3 this flag does absolutely nothing. The behaviour it controlled is now automatic and the flag is not required.

The flag will be removed from the Dart SDK in the future after Flutter is no longer using it.
parent b3f5d3f8
......@@ -410,7 +410,7 @@ class FlutterDebugAdapter extends DartDebugAdapter<FlutterLaunchRequestArguments
if (_receivedAppStarted && serviceUri != null) {
if (enableDebugger) {
connectDebugger(serviceUri, resumeIfStarting: true);
connectDebugger(serviceUri);
} else {
// Usually, `connectDebugger` (in the base Dart adapter) will send this
// event when it connects a debugger. Since we're not connecting a
......
......@@ -249,6 +249,6 @@ class FlutterTestDebugAdapter extends DartDebugAdapter<FlutterLaunchRequestArgum
return;
}
final Uri vmServiceUri = Uri.parse(vmServiceUriString);
connectDebugger(vmServiceUri, resumeIfStarting: true);
connectDebugger(vmServiceUri);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment