mirror of
https://github.com/go-i2p/gomobile-java.git
synced 2025-07-13 06:07:45 -04:00
app: fix shiny build.
Fixes golang/go#14401. Change-Id: Id8bbc69e8dcb397094c165e97946d4d2688f34ad Reviewed-on: https://go-review.googlesource.com/19872 Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
@ -39,8 +39,8 @@ func main(f func(a App)) {
|
||||
|
||||
go f(theApp)
|
||||
|
||||
for e := range w.Events() {
|
||||
theApp.Send(convertEvent(e))
|
||||
for {
|
||||
theApp.Send(convertEvent(w.NextEvent()))
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user