diff options
| author | Pietro Gagliardi <[email protected]> | 2014-07-13 20:26:16 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-07-13 20:26:16 -0400 |
| commit | 244061d878a7cffc205f7d0ba02c08527ed0f6f3 (patch) | |
| tree | 285f2b27b9606f27888cbf27155a9f4a316f7e13 /redo/zz_test.go | |
| parent | f36451d26e7a4a83f90933b0d087c7d9c0d81001 (diff) | |
Changed the semantics of uitask() to allow it to handle recursive main loops properly; important for Stop() to work correctly on non-Windows systems.
Diffstat (limited to 'redo/zz_test.go')
| -rw-r--r-- | redo/zz_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/zz_test.go b/redo/zz_test.go index 9127f01..f022ab4 100644 --- a/redo/zz_test.go +++ b/redo/zz_test.go @@ -14,7 +14,7 @@ func init() { w := GetNewWindow(Do, "Hello", 320, 240) done := make(chan struct{}) Wait(Do, w.OnClosing(func(c Doer) bool { - Wait(c, Stop()) + Stop() done <- struct{}{} return true })) |
