Skip to content

Commit

Permalink
load solution on background thread
Browse files Browse the repository at this point in the history
  • Loading branch information
nosami committed May 9, 2013
1 parent 6e13f63 commit ed19c02
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions server/OmniSharp/Solution/CSharpSolution.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ public class CSharpSolution : ISolution

public string FileName { get; private set; }

public CSharpSolution(string fileName)
{
LoadSolution(fileName);
public CSharpSolution(string fileName)
{
new Action<string>(LoadSolution).BeginInvoke(fileName, null, null);
//LoadSolution(fileName);
}

private void LoadSolution(string fileName)
Expand Down

0 comments on commit ed19c02

Please sign in to comment.