My first post here at JGO and hence I hope I ask this in the right section.
I was going over tutorials and documentation on LWJGL and was wondering, why would one need to call Display.destroy(), right before the end?
Since, at the end post the JVM shutdown, would not any resources claimed by that process be returned back?
To ask the question in another way, say I have:
// ...
Display.setDisplayMode(new DisplayMode(800,600));
Display.create();
// ... do some LWJGL stuff
// ... no Display.destroy();
System.exit(0);
And I run the above, what would happen?