Skip to content

Commit 2f4299a

Browse files
authored
[flutter_tools] Remove unused parameter when connected DAP to VM Service (#108285)
Since dart-lang/sdk@02d9c3e 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.
1 parent b3f5d3f commit 2f4299a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/flutter_tools/lib/src/debug_adapters/flutter_adapter.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ class FlutterDebugAdapter extends DartDebugAdapter<FlutterLaunchRequestArguments
410410

411411
if (_receivedAppStarted && serviceUri != null) {
412412
if (enableDebugger) {
413-
connectDebugger(serviceUri, resumeIfStarting: true);
413+
connectDebugger(serviceUri);
414414
} else {
415415
// Usually, `connectDebugger` (in the base Dart adapter) will send this
416416
// event when it connects a debugger. Since we're not connecting a

packages/flutter_tools/lib/src/debug_adapters/flutter_test_adapter.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,6 @@ class FlutterTestDebugAdapter extends DartDebugAdapter<FlutterLaunchRequestArgum
249249
return;
250250
}
251251
final Uri vmServiceUri = Uri.parse(vmServiceUriString);
252-
connectDebugger(vmServiceUri, resumeIfStarting: true);
252+
connectDebugger(vmServiceUri);
253253
}
254254
}

0 commit comments

Comments
 (0)