summaryrefslogtreecommitdiff
path: root/redo/zz_test.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-13 01:14:55 -0400
committerPietro Gagliardi <[email protected]>2014-07-13 01:14:55 -0400
commitf36451d26e7a4a83f90933b0d087c7d9c0d81001 (patch)
treeab11f7396a87ef093c50eea3e4bce662909e7fad /redo/zz_test.go
parent5bc9a75f0ac0528dd6fbababac6cf566f247a4b3 (diff)
Added Stop() and implemented it on Windows.
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
}))