Fix #1301. Configuration is not fully initialized and cause NullReferenceException crash

This commit is contained in:
celeron533
2017-08-06 22:48:02 +08:00
parent 0251130fa5
commit 081bbaf011
+4 -1
View File
@@ -89,7 +89,10 @@ namespace Shadowsocks.Model
configs = new List<Server>()
{
GetDefaultServer()
}
},
logViewer = new LogViewerConfig(),
proxy = new ProxyConfig(),
hotkey = new HotkeyConfig()
};
}
}