app/headless: Release Window after testing it

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2020-02-22 11:44:35 +01:00
parent f305f71b20
commit 055fa97343
+1
View File
@@ -18,6 +18,7 @@ func TestHeadless(t *testing.T) {
if err != nil {
t.Skipf("headless windows not supported: %v", err)
}
defer w.Release()
col := color.RGBA{A: 0xff, R: 0xcc, G: 0xcc}
var ops op.Ops