File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed
packages/flutter_tools/lib/src Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -562,21 +562,6 @@ class FlutterVmService {
562
562
}
563
563
}
564
564
565
- // TODO(andrewkolos): this is to assist in troubleshooting
566
- // https://github.com/flutter/flutter/issues/152220 and should be reverted
567
- // once this issue is resolved.
568
- final StreamSubscription <String > onReceiveSubscription = service.onReceive.listen ((
569
- String message,
570
- ) {
571
- globals.logger.printTrace ('runInView VM service onReceive listener received "$message "' );
572
- final dynamic messageAsJson = jsonDecode (message);
573
- // ignore: avoid_dynamic_calls -- Temporary code.
574
- final dynamic messageKind = messageAsJson['params' ]? ['event' ]? ['kind' ];
575
- if (messageKind == 'IsolateRunnable' ) {
576
- globals.logger.printTrace ('Received IsolateRunnable event from onReceive.' );
577
- }
578
- });
579
-
580
565
final Future <void > onRunnable = service.onIsolateEvent.firstWhere ((vm_service.Event event) {
581
566
return event.kind == vm_service.EventKind .kIsolateRunnable;
582
567
});
@@ -589,7 +574,6 @@ class FlutterVmService {
589
574
},
590
575
);
591
576
await onRunnable;
592
- await onReceiveSubscription.cancel ();
593
577
}
594
578
595
579
Future <String > flutterDebugDumpApp ({required String isolateId}) async {
You can’t perform that action at this time.
0 commit comments