提交 39f86fa0 编写于 作者: C CyrusNajmabadi

Make code more consistent.

上级 2165536f
...@@ -83,13 +83,13 @@ private async Task AddDeclarationEntriesAsync(DefinitionItem definition) ...@@ -83,13 +83,13 @@ private async Task AddDeclarationEntriesAsync(DefinitionItem definition)
} }
} }
declarations.Free();
if (changed) if (changed)
{ {
// Let all our subscriptions know that we've updated. // Let all our subscriptions know that we've updated.
NotifyChange(); NotifyChange();
} }
declarations.Free();
} }
private bool HasDeclarationEntries(DefinitionItem definition) private bool HasDeclarationEntries(DefinitionItem definition)
......
...@@ -70,7 +70,7 @@ protected override async Task OnDefinitionFoundWorkerAsync(DefinitionItem defini ...@@ -70,7 +70,7 @@ protected override async Task OnDefinitionFoundWorkerAsync(DefinitionItem defini
EntriesWhenNotGroupingByDefinition = EntriesWhenNotGroupingByDefinition.AddRange(entries); EntriesWhenNotGroupingByDefinition = EntriesWhenNotGroupingByDefinition.AddRange(entries);
} }
this.NotifyChange(); NotifyChange();
} }
entries.Free(); entries.Free();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册