Fixed runtime crashes for now. Whee, we have a window again!

This commit is contained in:
Pietro Gagliardi 2014-07-08 11:01:29 -04:00
parent 8f768d2b91
commit 382bf27523
1 changed files with 4 additions and 4 deletions

View File

@ -12,10 +12,10 @@ func TestPackage(t *testing.T) {
go func() {
w := GetNewWindow(Do, "Hello", 320, 240)
done := make(chan struct{})
Wait(Do, w.OnClosing(func(Doer) bool {
done <- struct{}{}
return true
}))
// Wait(Do, w.OnClosing(func(Doer) bool {
// done <- struct{}{}
// return true
// }))
Wait(Do, w.Show())
<-done
}()