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

Unified Diff: runtime/bin/vmservice/observatory/lib/src/app/application.dart

Issue 514833003: Add a new Sentinel type for sentinel responses. (They are not Null). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js, fix tests Created 6 years, 4 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: runtime/bin/vmservice/observatory/lib/src/app/application.dart
diff --git a/runtime/bin/vmservice/observatory/lib/src/app/application.dart b/runtime/bin/vmservice/observatory/lib/src/app/application.dart
index c3018c931d3ccb909f9009eaf5e3bd198198649b..dec1e28fca47efc1dd91ec616b6151605450241b 100644
--- a/runtime/bin/vmservice/observatory/lib/src/app/application.dart
+++ b/runtime/bin/vmservice/observatory/lib/src/app/application.dart
@@ -87,6 +87,10 @@ class ObservatoryApplication extends Observable {
notifications.add(event);
break;
+ case 'GC':
+ // Ignore GC events for now.
+ break;
+
default:
// Ignore unrecognized events.
Logger.root.severe('Unrecognized event: $event');

Powered by Google App Engine
This is Rietveld 408576698