Browse Source

fire error event when the pac server is not run

tags/2.3
Gang Zhuo 10 years ago
parent
commit
4860d5b32a
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      shadowsocks-csharp/Controller/ShadowsocksController.cs

+ 4
- 0
shadowsocks-csharp/Controller/ShadowsocksController.cs View File

@@ -166,6 +166,10 @@ namespace Shadowsocks.Controller
{
pacServer.UpdatePACFromGFWList();
}
else if (UpdatePACFromGFWListError != null)
{
UpdatePACFromGFWListError(this, new ErrorEventArgs(new Exception("The PACServer is not run.")));
}
}
protected void Reload()


Loading…
Cancel
Save