| Index: runtime/observatory/lib/src/app/application.dart
|
| diff --git a/runtime/observatory/lib/src/app/application.dart b/runtime/observatory/lib/src/app/application.dart
|
| index ef8d5748ec6546ab04803baee0b9f18617912cae..8c8e00e3ad8c1a2e66dfb73dfb7dde93b16bb004 100644
|
| --- a/runtime/observatory/lib/src/app/application.dart
|
| +++ b/runtime/observatory/lib/src/app/application.dart
|
| @@ -85,7 +85,7 @@ class ObservatoryApplication extends Observable {
|
| }
|
|
|
| void _onEvent(ServiceEvent event) {
|
| - switch(event.eventType) {
|
| + switch(event.kind) {
|
| case ServiceEvent.kIsolateStart:
|
| case ServiceEvent.kIsolateUpdate:
|
| case ServiceEvent.kGraph:
|
| @@ -209,7 +209,7 @@ class ObservatoryApplication extends Observable {
|
| notifications.removeWhere((notification) {
|
| var event = notification.event;
|
| return (event != null &&
|
| - event.eventType == ServiceEvent.kConnectionClosed);
|
| + event.kind == ServiceEvent.kConnectionClosed);
|
| });
|
| }
|
|
|
|
|