Fix hotkey unregister issue.

Use singleton mode for hotkey callbacks.
This commit is contained in:
noisyfox
2016-11-23 02:34:07 +11:00
parent 206e0b8cb5
commit 63816ccdd1
6 changed files with 292 additions and 261 deletions
+1
View File
@@ -6,6 +6,7 @@ using System.Windows.Forms;
using Microsoft.Win32;
using Shadowsocks.Controller;
using Shadowsocks.Controller.Hotkeys;
using Shadowsocks.Util;
using Shadowsocks.View;