summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-13 20:28:15 -0400
committerPietro Gagliardi <[email protected]>2014-07-13 20:28:15 -0400
commitacc604a820a7b697832a8281a9cdc095d598a731 (patch)
tree3797c7b6b7e9e554a324bd332001783bc1a5daa5
parent244061d878a7cffc205f7d0ba02c08527ed0f6f3 (diff)
Some comment cleanup.
-rw-r--r--redo/uitask.go4
-rw-r--r--redo/uitask_windows.go1
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)
}