Does this completely remove the Picture?

I have a picture like this:
[java]move_table = new Picture(“HUD Picture”);
move_table.setImage(MainGame.getAsset(), “texture/ingame/move_table7.png”, true);[/java]
and to remove it I do:
move_table = null;[/java]
I first remove it from the screen, then setting it to null (erasing all refferences to it).
Does this totally clear up the memory and CPU and all that that this one held up?

With the usual caveats about waiting for garbage collection, caches etc,… yes :slight_smile:

1 Like

Ok thanks :slight_smile: