Index: runtime/bin/vmservice/observatory/lib/src/elements/inbound_reference.dart |
diff --git a/runtime/bin/vmservice/observatory/lib/src/elements/inbound_reference.dart b/runtime/bin/vmservice/observatory/lib/src/elements/inbound_reference.dart |
index 9efa1bf63cc5bf325259f8fa291c73aa12fd63a5..436c7b551b842fc904da1041174253c4149febe9 100644 |
--- a/runtime/bin/vmservice/observatory/lib/src/elements/inbound_reference.dart |
+++ b/runtime/bin/vmservice/observatory/lib/src/elements/inbound_reference.dart |
@@ -11,6 +11,7 @@ import 'service_ref.dart'; |
@CustomTag('inbound-reference') |
class InboundReferenceElement extends ServiceRefElement { |
+ @published ObservableMap ref; |
InboundReferenceElement.created() : super.created(); |
dynamic get slot => (ref as ServiceMap)['slot']; |
@@ -40,9 +41,7 @@ class InboundReferenceElement extends ServiceRefElement { |
notifyPropertyChange(#ref, 0, 1); |
}).whenComplete(done); |
} else { |
- ServiceMap refMap = ref; |
- refMap['fields'] = null; |
- refMap['elements'] = null; |
+ inboundReferences = null; |
done(); |
} |
} |