end

open external fun end()

For Bitmap context: announce the bitmap's memory should be locked;