cmd,example: bump gio version

Add os.Exit to examples now that app.Main never returns.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-06-26 16:27:15 +02:00
parent 6a9a870462
commit f5985b5e7d
9 changed files with 20 additions and 6 deletions
+1
View File
@@ -60,6 +60,7 @@ func main() {
app.Size(unit.Dp(400), unit.Dp(800)),
app.Title("Gophers"),
)
defer os.Exit(0)
if err := newApp(w).run(); err != nil {
log.Fatal(err)
}