Fix #1301. Configuration is not fully initialized and cause NullReferenceException crash
This commit is contained in:
@@ -89,7 +89,10 @@ namespace Shadowsocks.Model
|
||||
configs = new List<Server>()
|
||||
{
|
||||
GetDefaultServer()
|
||||
}
|
||||
},
|
||||
logViewer = new LogViewerConfig(),
|
||||
proxy = new ProxyConfig(),
|
||||
hotkey = new HotkeyConfig()
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user