From e8b155fefe5c0518b652c8ca8b5fe85842ff6665 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 3 May 2017 03:15:50 +0900 Subject: [PATCH] graphics: Remove duplicated runtime.SetFinalizer --- image.go | 1 - 1 file changed, 1 deletion(-) diff --git a/image.go b/image.go index 9b9a659d0..a9e52a7f7 100644 --- a/image.go +++ b/image.go @@ -65,7 +65,6 @@ func (i *images) remove(img *Image) { i.m.Lock() defer i.m.Unlock() delete(i.images, r) - runtime.SetFinalizer(img, nil) } func (i *images) resolveStalePixels(context *opengl.Context) error {