Fix hotkey unregister issue.
Use singleton mode for hotkey callbacks.
This commit is contained in:
+1
-1
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user