Skip to content

Commit

Permalink
Added missing null check
Browse files Browse the repository at this point in the history
  • Loading branch information
madskristensen committed Mar 3, 2016
1 parent 4c30464 commit 5ef19ac
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/BrowserLink/ReloadFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ static ReloadFactory()

public BrowserLinkExtension CreateExtensionInstance(BrowserLinkConnection connection)
{
if (connection.Project == null)
return null;

// Create one extension per project
if (!Extensions.ContainsKey(connection.Project))
{
Expand Down

0 comments on commit 5ef19ac

Please sign in to comment.