[dds] Remove unused parameter from DartDebugAdapter.connectDebugger

Change-Id: Ib3d3edd4ca1f7a8491a98c764c78045abd075b3c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/257641
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
This commit is contained in:
Danny Tuppeny 2022-09-06 14:53:46 +00:00 committed by Commit Bot
parent 1089fa528a
commit 6c8bacc73a
2 changed files with 4 additions and 6 deletions

View file

@ -1,3 +1,6 @@
# 2.3.0-dev
- Removed an unused parameter `resumeIfStarting` from `DartDebugAdapter.connectDebugger`
# 2.2.6
- Fixed an issue where debug adapters would not automatically close after terminating/disconnecting from the debugee.

View file

@ -544,12 +544,7 @@ abstract class DartDebugAdapter<TL extends LaunchRequestArguments,
/// The URI protocol will be changed to ws/wss but otherwise not normalised.
/// The caller should handle any other normalisation (such as adding /ws to
/// the end if required).
Future<void> connectDebugger(
Uri uri, {
// TODO(dantup): Remove this after parameter after updating the Flutter
// DAP to not pass it.
bool? resumeIfStarting,
}) async {
Future<void> connectDebugger(Uri uri) async {
// Start up a DDS instance for this VM.
if (enableDds) {
logger?.call('Starting a DDS instance for $uri');