Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(710)

Unified Diff: pkg/analyzer_plugin/lib/src/channel/isolate_channel.dart

Issue 2893803004: Capture the request time for performance data and support forced shutdown (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer_plugin/lib/src/channel/isolate_channel.dart
diff --git a/pkg/analyzer_plugin/lib/src/channel/isolate_channel.dart b/pkg/analyzer_plugin/lib/src/channel/isolate_channel.dart
index 65c33cd445686076c75834359a46c507df3d7f23..e712d08b25d380eb81ed219ccd7b6bcbcdff9ee7 100644
--- a/pkg/analyzer_plugin/lib/src/channel/isolate_channel.dart
+++ b/pkg/analyzer_plugin/lib/src/channel/isolate_channel.dart
@@ -223,6 +223,11 @@ abstract class ServerIsolateChannel implements ServerCommunicationChannel {
}
@override
+ void kill() {
+ _isolate.kill(priority: Isolate.IMMEDIATE);
+ }
+
+ @override
Future<Null> listen(void onResponse(Response response),
void onNotification(Notification notification),
{Function onError, void onDone()}) async {

Powered by Google App Engine
This is Rietveld 408576698