Locked the Windows message loop goroutine to the OS thread.
This commit is contained in:
parent
a1344512aa
commit
bbff3d4f62
|
@ -48,6 +48,8 @@ var (
|
|||
)
|
||||
|
||||
func msgloop() {
|
||||
runtime.LockOSThread()
|
||||
|
||||
var msg struct {
|
||||
Hwnd _HWND
|
||||
Message uint32
|
||||
|
|
Loading…
Reference in New Issue