minor code refactor

This commit is contained in:
Kang Yu 2024-06-29 21:36:37 -07:00
parent a94ebd44f9
commit 411b73d971

View file

@ -17,9 +17,8 @@ namespace PersistentWindows.SystrayShell
{
messageLoop = new Thread(() =>
{
HotKeyForm hkf = new HotKeyForm(hotkey);
hkwin = new HotKeyWindow(hotkey);
Application.Run(hkf);
Application.Run(new HotKeyForm(hotkey));
})
{
Name = "MessageLoopThread",