graphics: Remove duplicated runtime.SetFinalizer

This commit is contained in:
Hajime Hoshi 2017-05-03 03:15:50 +09:00
parent f30b274c1f
commit e8b155fefe

View File

@ -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 {