internal/restorable/image.go
func (i *Image) Dispose() {
	theImages.remove(i)

	i.image.Dispose()
	i.image = nil
	i.basePixels = nil
	i.drawTrianglesHistory = nil
	i.stale = false
}
func (i *Image) Dispose() {
	theImages.remove(i)

	i.image.Dispose()
	i.image = nil
	i.basePixels = nil
	i.drawTrianglesHistory = nil
	i.stale = false
}
func ( i * Image ) Dispose ( ) { theImages . remove ( i ) i . image . Dispose ( ) i . image = nil i . basePixels = nil i . drawTrianglesHistory = nil i . stale = false }
// Dispose disposes the image.
//
// After disposing, calling the function of the image causes unexpected results.
Dispose disposes the image . After disposing calling the function of the image causes unexpected results .