geopackage-sdk/src/main/java/mil/nga/geopackage/tiles/features/FeatureTileCanvas.java
public void recycle() {
        for (int layer = 0; layer < 4; layer++) {
            Bitmap bitmap = layeredBitmap[layer];
            if (bitmap != null) {
                bitmap.recycle();
                layeredBitmap[layer] = null;
                layeredCanvas[layer] = null;
            }
        }
    }
public void recycle() {
        for (int layer = 0; layer < 4; layer++) {
            Bitmap bitmap = layeredBitmap[layer];
            if (bitmap != null) {
                bitmap.recycle();
                layeredBitmap[layer] = null;
                layeredCanvas[layer] = null;
            }
        }
    }
public void recycle ( ) { for ( int layer = 0 ; layer < 4 ; layer ++ ) { Bitmap bitmap = layeredBitmap [ layer ] ; if ( bitmap != null ) { bitmap . recycle ( ) ; layeredBitmap [ layer ] = null ; layeredCanvas [ layer ] = null ; } } }
Recycle the layered bitmaps
Recycle the layered bitmaps