diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-09-16 23:36:49 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-09-23 15:29:18 +0200 |
commit | 5878d9a6b2251e5a0c464cb427a5eac7d1ada6e5 (patch) | |
tree | 1f123998f801c375674326ba7946da568be32df0 /ui/ui.go | |
parent | updater: use correct length for security attributes (diff) | |
download | wireguard-windows-5878d9a6b2251e5a0c464cb427a5eac7d1ada6e5.tar.xz wireguard-windows-5878d9a6b2251e5a0c464cb427a5eac7d1ada6e5.zip |
global: use SECURITY_DESCRIPTOR apis from x/sys/windows
Diffstat (limited to '')
-rw-r--r-- | ui/ui.go | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -25,8 +25,7 @@ var startTime = time.Now() func RunUI() { runtime.LockOSThread() - thisProcess, _ := windows.GetCurrentProcess() - windows.SetProcessPriorityBoost(thisProcess, false) + windows.SetProcessPriorityBoost(windows.GetCurrentProcess(), false) defer func() { if err := recover(); err != nil { showErrorCustom(nil, "Panic", fmt.Sprint(err, "\n\n", string(debug.Stack()))) |