commit | fe88d2776746c733e1628c7ac9d9add9c9a280ed | [log] [tgz] |
---|---|---|
author | Maarten Bezemer <maarten.bezemer@gmail.com> | Tue Aug 28 23:38:48 2018 +0200 |
committer | Elias Naur <elias.naur@gmail.com> | Wed Aug 29 07:49:04 2018 +0000 |
tree | 5a78ad64403b77963fa686430dba243483e7f001 | |
parent | bceb7ef27cc623473a5b664d2a3450576dddff0f [diff] |
app: fix hang when application is closed Events are Send() after the pump is being stopped (src is not read any more). This blocks a critical go routine, resulting in the application not properly being stopped. By continue reading the src channel during shutting down the pump, the block is removed and the application is able to stop. Fixes golang/go#20256 Change-Id: I1536e8697cd4a0e504e7359e48acce04088e5760 Reviewed-on: https://go-review.googlesource.com/42811 Reviewed-by: Elias Naur <elias.naur@gmail.com>
The Go mobile repository holds packages and build tools for using Go on mobile platforms.
Package documentation as a starting point:
The Go Mobile project is experimental. Use this at your own risk. While we are working hard to improve it, neither Google nor the Go team can provide end-user support.
This is early work and installing the build system requires Go 1.5. Follow the instructions on golang.org/wiki/Mobile to install the gomobile command, build the basic and the bind example apps.
Contributions to Go are appreciated. See https://golang.org/doc/contribute.html.