[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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user