Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ class EvalOnDartLibrary extends DisposableController
if (result is ErrorRef) {
throw result;
}
return result as FutureOr<InstanceRef?>;
return await result as FutureOr<InstanceRef?>;
} catch (e, stack) {
if (shouldLogError) {
_handleError('$e - $expression', stack);
Expand Down Expand Up @@ -242,7 +242,7 @@ class EvalOnDartLibrary extends DisposableController
if (result is ErrorRef) {
throw result;
}
return result as FutureOr<InstanceRef?>;
return await result as FutureOr<InstanceRef?>;
} catch (e, stack) {
if (shouldLogError) {
_handleError('$e - $name', stack);
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools_shared/test/helpers/helpers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Future<TestDtdConnectionInfo> startDtd() async {
}
});

return completer.future
return await completer.future
.timeout(dtdConnectTimeout, onTimeout: onFailure)
.then((value) async {
await dtdStoutSubscription?.cancel();
Expand Down
Loading