Remove callback when the game core is deleted.