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 -1
View File
@@ -2,11 +2,11 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Shadowsocks.Controller;
using Shadowsocks.Encryption;
using Shadowsocks.Util;
using GlobalHotKey;
using System.Windows.Input;
using System.Threading;
using System.Collections.Generic;
using Shadowsocks.Controller.Hotkeys;
namespace test
{