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

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RequestSink.java

Issue 349573004: close channel and exit analysis server on editor shutdown (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years, 6 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: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RequestSink.java
diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RequestSink.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RequestSink.java
index c3222e6eb5d0a353feb49eace1fd1d43d56639bd..c4af60a3f509cd1ca41eaaab69246edb2cb9a007 100644
--- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RequestSink.java
+++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/RequestSink.java
@@ -27,4 +27,9 @@ public interface RequestSink {
* @param request the request to put, not {@code null}.
*/
void add(JsonObject request);
+
+ /**
+ * Close the communication channel.
+ */
+ void close();
}

Powered by Google App Engine
This is Rietveld 408576698