mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 08:25:34 +00:00
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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user