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

Since 02d9c3e6a5 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.
This commit is contained in:
Danny Tuppeny
2022-07-25 18:28:12 +01:00
committed by GitHub
parent b3f5d3f854
commit 2f4299ad35
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -249,6 +249,6 @@ class FlutterTestDebugAdapter extends DartDebugAdapter<FlutterLaunchRequestArgum
return;
}
final Uri vmServiceUri = Uri.parse(vmServiceUriString);
connectDebugger(vmServiceUri, resumeIfStarting: true);
connectDebugger(vmServiceUri);
}
}