Some comment cleanup.
This commit is contained in:
parent
244061d878
commit
acc604a820
|
@ -19,9 +19,9 @@ func Go() error {
|
||||||
return nil
|
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.
|
// 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() {
|
func Stop() {
|
||||||
go func() {
|
go func() {
|
||||||
c := make(chan interface{})
|
c := make(chan interface{})
|
||||||
|
|
|
@ -46,7 +46,6 @@ func uimsgloop() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func uistop() {
|
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)
|
f_PostQuitMessage(0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue