Locked the Windows message loop goroutine to the OS thread.

This commit is contained in:
Pietro Gagliardi 2014-02-11 18:32:07 -05:00
parent a1344512aa
commit bbff3d4f62
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,8 @@ var (
) )
func msgloop() { func msgloop() {
runtime.LockOSThread()
var msg struct { var msg struct {
Hwnd _HWND Hwnd _HWND
Message uint32 Message uint32