summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.go b/main.go
index a5b4269..c7cb51a 100644
--- a/main.go
+++ b/main.go
@@ -57,8 +57,9 @@ func start(errchan chan error, f func()) {
errchan <- nil
}
-// Quit queues an exit from the GUI thread. It does not exit the
-// program. Quit must be called from the GUI thread.
+// Quit queues a return from Main. It does not exit the program.
+// It also does not immediately cause Main to return; Main will
+// return when it next can. Quit must be called from the GUI thread.
func Quit() {
C.uiQuit()
}