File tree 4 files changed +6
-6
lines changed 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -976,7 +976,7 @@ class _Breakpoints extends Domain {
976
976
}
977
977
978
978
/// Calls the Chrome protocol setBreakpoint and returns the remote ID.
979
- Future <String ?> _setJsBreakpoint (Location location) async {
979
+ Future <String ?> _setJsBreakpoint (Location location) {
980
980
// The module can be loaded from a nested path and contain an ETAG suffix.
981
981
final urlRegex = '.*${location .jsLocation .module }.*' ;
982
982
// Prevent `Aww, snap!` errors when setting multiple breakpoints
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ class FrameComputer {
34
34
35
35
/// Translates Chrome callFrames contained in [DebuggerPausedEvent] into Dart
36
36
/// [Frame] s.
37
- Future <List <Frame >> calculateFrames ({int ? limit}) async {
37
+ Future <List <Frame >> calculateFrames ({int ? limit}) {
38
38
return _queue.run (() async {
39
39
if (limit != null && _computedFrames.length >= limit) {
40
40
return _computedFrames.take (limit).toList ();
Original file line number Diff line number Diff line change @@ -577,7 +577,7 @@ class AppInspector implements AppInspectorInterface {
577
577
/// reload the inspector will get re-created.
578
578
///
579
579
/// Returns the list of scripts refs cached.
580
- Future <List <ScriptRef >> _populateScriptCaches () async {
580
+ Future <List <ScriptRef >> _populateScriptCaches () {
581
581
return _scriptCacheMemoizer.runOnce (() async {
582
582
final scripts = await globalLoadStrategy
583
583
.metadataProviderFor (appConnection.request.entrypointPath)
Original file line number Diff line number Diff line change @@ -537,14 +537,14 @@ class DevHandler {
537
537
538
538
while (await extensionBackend.connections.hasNext) {
539
539
final extensionDebugger = await extensionBackend.extensionDebugger;
540
- await _startExtensionDebugService (extensionDebugger);
540
+ _startExtensionDebugService (extensionDebugger);
541
541
}
542
542
}
543
543
544
544
/// Starts a [DebugService] for Dart Debug Extension.
545
- Future < void > _startExtensionDebugService (
545
+ void _startExtensionDebugService (
546
546
ExtensionDebugger extensionDebugger,
547
- ) async {
547
+ ) {
548
548
// Waits for a `DevToolsRequest` to be sent from the extension background
549
549
// when the extension is clicked.
550
550
extensionDebugger.devToolsRequestStream.listen ((devToolsRequest) async {
You can’t perform that action at this time.
0 commit comments