2002/08/24 22:49:00
[org.ibex.core.git] / src / org / xwt / Surface.java
index 5b2f205..1266466 100644 (file)
@@ -382,14 +382,11 @@ public abstract class Surface {
 
         // 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();
-            */
         }
     }