This reverts commit 6cd4fa45e2.
This commit is contained in:
@@ -11,7 +11,6 @@ import 'package:dds/dds.dart';
|
||||
import 'package:meta/meta.dart';
|
||||
import 'package:process/process.dart';
|
||||
import 'package:stream_channel/stream_channel.dart';
|
||||
import 'package:vm_service/vm_service.dart' as vm_service;
|
||||
|
||||
import '../base/file_system.dart';
|
||||
import '../base/io.dart';
|
||||
@@ -181,15 +180,8 @@ class FlutterTesterTestDevice extends TestDevice {
|
||||
compileExpression: compileExpression,
|
||||
logger: logger,
|
||||
);
|
||||
unawaited(localVmService.then((FlutterVmService vmservice) async {
|
||||
unawaited(localVmService.then((FlutterVmService vmservice) {
|
||||
logger.printTrace('test $id: Successfully connected to service protocol: $forwardingUri');
|
||||
if (debuggingOptions.serveObservatory) {
|
||||
try {
|
||||
await vmservice.callMethodWrapper('_serveObservatory');
|
||||
} on vm_service.RPCError {
|
||||
logger.printWarning('Unable to enable Observatory');
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
||||
if (debuggingOptions.startPaused && !machine!) {
|
||||
@@ -198,7 +190,6 @@ class FlutterTesterTestDevice extends TestDevice {
|
||||
logger.printStatus(' $forwardingUri');
|
||||
logger.printStatus('You should first set appropriate breakpoints, then resume the test in the debugger.');
|
||||
}
|
||||
|
||||
_gotProcessObservatoryUri.complete(forwardingUri);
|
||||
},
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user