Some comment cleanup.

This commit is contained in:
Pietro Gagliardi 2014-07-13 20:28:15 -04:00
parent 244061d878
commit acc604a820
2 changed files with 2 additions and 3 deletions

View File

@ -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{})

View File

@ -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)
}