diff options
| author | Pietro Gagliardi <[email protected]> | 2014-02-11 18:32:07 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-02-11 18:32:07 -0500 |
| commit | bbff3d4f6211d8bdd13173d1c9329a3ec841fc8f (patch) | |
| tree | 0b6c4cb4804e709c44262f3ae139730d5f4c6844 | |
| parent | a1344512aae1ba4d7f571f04ac4dd989e29258f5 (diff) | |
Locked the Windows message loop goroutine to the OS thread.
| -rw-r--r-- | uitask_windows.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/uitask_windows.go b/uitask_windows.go index df04d2e..c0b6535 100644 --- a/uitask_windows.go +++ b/uitask_windows.go @@ -48,6 +48,8 @@ var ( ) func msgloop() { + runtime.LockOSThread() + var msg struct { Hwnd _HWND Message uint32 |
