| Index: pkg/analysis_server/lib/src/services/index/store/split_store.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/index/store/split_store.dart b/pkg/analysis_server/lib/src/services/index/store/split_store.dart
|
| index 1859a410a65eb432b804176f68ccad87a914c1d5..ee5c3b8c37aa95502860c5d235b058f52372a794 100644
|
| --- a/pkg/analysis_server/lib/src/services/index/store/split_store.dart
|
| +++ b/pkg/analysis_server/lib/src/services/index/store/split_store.dart
|
| @@ -696,6 +696,21 @@ class SplitIndexStore implements InternalIndexStore {
|
| }
|
|
|
| @override
|
| + void cancelIndexDart() {
|
| + if (_currentNode != null) {
|
| + // remove top-level information for the current node
|
| + for (Map<int, dynamic> nodeRelations in _topDeclarations.values) {
|
| + nodeRelations.remove(_currentNodeNameId);
|
| + }
|
| + // clear fields
|
| + _currentNodeName = null;
|
| + _currentNodeNameId = -1;
|
| + _currentNode = null;
|
| + _currentContextId = -1;
|
| + }
|
| + }
|
| +
|
| + @override
|
| void clear() {
|
| _topDeclarations.clear();
|
| _nodeManager.clear();
|
|
|