summaryrefslogtreecommitdiff
path: root/redo/zz_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/zz_test.go')
-rw-r--r--redo/zz_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/redo/zz_test.go b/redo/zz_test.go
index 9df45fd..9127f01 100644
--- a/redo/zz_test.go
+++ b/redo/zz_test.go
@@ -13,7 +13,8 @@ func init() {
go func() {
w := GetNewWindow(Do, "Hello", 320, 240)
done := make(chan struct{})
- Wait(Do, w.OnClosing(func(Doer) bool {
+ Wait(Do, w.OnClosing(func(c Doer) bool {
+ Wait(c, Stop())
done <- struct{}{}
return true
}))