Browse Source

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

tags/4.0.5
celeron533 8 years ago
parent
commit
081bbaf011
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      shadowsocks-csharp/Model/Configuration.cs

+ 4
- 1
shadowsocks-csharp/Model/Configuration.cs View File

@@ -89,7 +89,10 @@ namespace Shadowsocks.Model
configs = new List<Server>() configs = new List<Server>()
{ {
GetDefaultServer() GetDefaultServer()
}
},
logViewer = new LogViewerConfig(),
proxy = new ProxyConfig(),
hotkey = new HotkeyConfig()
}; };
} }
} }


Loading…
Cancel
Save