dispose

Disposes each resource in the stack in the reverse order that they were added.