mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 15:45:38 +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:
@@ -68,6 +68,7 @@ func main() {
|
||||
}()
|
||||
|
||||
go func() {
|
||||
defer os.Exit(0)
|
||||
w := app.NewWindow(app.Size(unit.Dp(800), unit.Dp(700)))
|
||||
if err := loop(w); err != nil {
|
||||
log.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user