Fix #19.
This commit is contained in:
parent
01c2abbb00
commit
a039780320
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ func setup() context.CancelFunc {
|
||||||
setThreadDpiAwarenessContext.Call(restore)
|
setThreadDpiAwarenessContext.Call(restore)
|
||||||
}
|
}
|
||||||
if cookie != 0 {
|
if cookie != 0 {
|
||||||
deactivateActCtx.Call(cookie)
|
deactivateActCtx.Call(0, cookie)
|
||||||
}
|
}
|
||||||
runtime.UnlockOSThread()
|
runtime.UnlockOSThread()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue