mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 08:25:34 +00:00
app: ensure context is nil after release
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
+1
-1
@@ -153,7 +153,7 @@ func (w *Window) validateAndProcess(driver wm.Driver, frameStart time.Time, size
|
||||
}
|
||||
w.loop, err = newLoop(w.ctx)
|
||||
if err != nil {
|
||||
w.ctx.Release()
|
||||
w.destroyGPU()
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user