summaryrefslogtreecommitdiff
path: root/redo/uitask.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-14 09:38:12 -0400
committerPietro Gagliardi <[email protected]>2014-08-14 09:38:12 -0400
commitc94a9768226947c1fbfdf7201ebde48302cc74f8 (patch)
tree6f7f7dfbffe3ca94fde31aa959b5669069713ce8 /redo/uitask.go
parentd384df97d0538ac46de936c10a4d4d8b91005b17 (diff)
Cleaned up a bunch of TODOs, moving a few to future plans.
Diffstat (limited to 'redo/uitask.go')
-rw-r--r--redo/uitask.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/redo/uitask.go b/redo/uitask.go
index 64366c8..12bd0f3 100644
--- a/redo/uitask.go
+++ b/redo/uitask.go
@@ -44,8 +44,7 @@ func Do(f func()) {
// Stop informs package ui that it should stop.
// Stop then returns immediately.
// Some time after this request is received, Go() will return without performing any final cleanup.
-// Stop will not have an effect until any event handlers or dialog boxes presently active return.
-// (TODO make sure this is the case for dialog boxes)
+// Stop will not have an effect until any event handlers return.
func Stop() {
// can't send this directly across issuer
go func() {
@@ -65,9 +64,6 @@ type event struct {
lock sync.Mutex
}
-// do should never be nil
-// TODO when writing doc.go, document that setting nil to an event handler ignores the event; if it returns a boolean value, false is returned
-
func newEvent() *event {
return &event{
do: func() bool {