mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-06 09:55:40 +00:00
app/headless: Release Window after testing it
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -18,6 +18,7 @@ func TestHeadless(t *testing.T) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
t.Skipf("headless windows not supported: %v", err)
|
t.Skipf("headless windows not supported: %v", err)
|
||||||
}
|
}
|
||||||
|
defer w.Release()
|
||||||
|
|
||||||
col := color.RGBA{A: 0xff, R: 0xcc, G: 0xcc}
|
col := color.RGBA{A: 0xff, R: 0xcc, G: 0xcc}
|
||||||
var ops op.Ops
|
var ops op.Ops
|
||||||
|
|||||||
Reference in New Issue
Block a user