dispose
Disposes of all registered screens with Screen.dispose. Catches thrown errors and logs them with libGDX application API by default. Override onScreenDisposalError method to change error handling behavior. Should be called automatically by libGDX application lifecycle handler.