They seem to have identical meaning. I can't think of what you could dispose besides resources in a programming context, so resource can be safely discarded.
closed as off-topic by Shadow Wizard, cVplZ, Martijn Pieters, Al E., Emrakul Aug 6 at 21:05
This question appears to be off-topic. The users who voted to close gave this specific reason: