From acc604a820a7b697832a8281a9cdc095d598a731 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 13 Jul 2014 20:28:15 -0400 Subject: [PATCH] Some comment cleanup. --- redo/uitask.go | 4 ++-- redo/uitask_windows.go | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/redo/uitask.go b/redo/uitask.go index 50b49ab..36d342c 100644 --- a/redo/uitask.go +++ b/redo/uitask.go @@ -19,9 +19,9 @@ func Go() error { return nil } -// Stop issues a Request for package ui to stop. +// Stop issues a Request for package ui to stop and returns immediately. // Some time after this request is received, Go() will return without performing any final cleanup. -// Stop is internally issued to ui.Do, so it will not be registered until any event handlers and dialog boxes return. +// Stop is internally issued to Do, so it will not be registered until any event handlers and dialog boxes return. func Stop() { go func() { c := make(chan interface{}) diff --git a/redo/uitask_windows.go b/redo/uitask_windows.go index 9d8c8c3..6c5b974 100644 --- a/redo/uitask_windows.go +++ b/redo/uitask_windows.go @@ -46,7 +46,6 @@ func uimsgloop() { } func uistop() { - // this works fine as documented in modal loops, as modal loops are supposed to repost quit messages (http://blogs.msdn.com/b/oldnewthing/archive/2005/02/22/378018.aspx), and all the Windows internal ones do f_PostQuitMessage(0) }