Exit method?

Hey, ive made an exit button in my game GUI, but i dont know what is the best method to call to close the application. Is it ok to call Display.distroy() or should i call System.exit(0)? I tried with both but with both i gate the same warning “AL lib: ReleaseALC: 1 device not closed”…Is this ok?

app.stop();

ahh, yah, i`m an idiot, thank you

makes much sense now doesn’t it? :wink:

1 Like