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

Unified Diff: editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/ByteRequestSink.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/ByteRequestSink.java
diff --git a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/ByteRequestSink.java b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/ByteRequestSink.java
index 3a5a3e8e85f8b032a34b99a4fddcebfaaf1b93a1..cd8e82cb83df1820937ed08116d4db8f1118368a 100644
--- a/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/ByteRequestSink.java
+++ b/editor/tools/plugins/com.google.dart.server/src/com/google/dart/server/internal/remote/ByteRequestSink.java
@@ -57,4 +57,9 @@ public class ByteRequestSink implements RequestSink {
writer.println(text);
writer.flush();
}
+
+ @Override
+ public void close() {
+ writer.close();
+ }
}

Powered by Google App Engine
This is Rietveld 408576698