// quit when all windows are closed
if (allSurfaces.size() == 0 && quitIfAllSurfacesGone) {
- throw new Error();
- /*
if (Log.on) {
if (refreshableSurfaceWasCreated) Log.log(this, "exiting because last remaining surface was disposed");
else Log.log(this, "exiting because no surface was ever created");
}
Platform.exit();
- */
}
}