Skip to content

Commit

Permalink
Fix #1301. Configuration is not fully initialized and cause NullRefer…
Browse files Browse the repository at this point in the history
…enceException crash
  • Loading branch information
celeron533 committed Aug 6, 2017
1 parent 0251130 commit 081bbaf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion shadowsocks-csharp/Model/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ public static Configuration Load()
configs = new List<Server>()
{
GetDefaultServer()
}
},
logViewer = new LogViewerConfig(),
proxy = new ProxyConfig(),
hotkey = new HotkeyConfig()
};
}
}
Expand Down

0 comments on commit 081bbaf

Please sign in to comment.