Skip to content

Commit 41b736b

Browse files
committed
removed async parsing, added comment
1 parent 62324ee commit 41b736b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

RetailCoder.VBE/VBA/RubberduckParser.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ public void RemoveProject(VBProject project)
4646

4747
public async Task<VBProjectParseResult> ParseAsync(VBProject project)
4848
{
49-
return await Task.Run(() => Parse(project));
50-
// note: the above has been seen to cause issues with VBProject.Equals and break navigation...
51-
//return Parse(project);
49+
//return await Task.Run(() => Parse(project));
50+
// note: the above seems to cause an AccessViolationException
51+
return Parse(project);
5252
}
5353

5454
public VBProjectParseResult Parse(VBProject project)

0 commit comments

Comments
 (0)