mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 04:55:39 +02:00
fix random crash by start hotkey window before pw core
This commit is contained in:
parent
893343f3c2
commit
f4bc7a51a8
1 changed files with 3 additions and 2 deletions
|
@ -344,6 +344,9 @@ namespace PersistentWindows.SystrayShell
|
|||
if (ignore_process.Length > 0)
|
||||
pwp.SetIgnoreProcess(ignore_process);
|
||||
|
||||
if (hotkey_window)
|
||||
HotKeyForm.Start();
|
||||
|
||||
if (!pwp.Start(auto_restore_from_db_at_startup))
|
||||
{
|
||||
systrayForm.notifyIconMain.Visible = false;
|
||||
|
@ -355,8 +358,6 @@ namespace PersistentWindows.SystrayShell
|
|||
StartSplashForm();
|
||||
}
|
||||
|
||||
if (hotkey_window)
|
||||
HotKeyForm.Start();
|
||||
Application.Run();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue