2002/08/24 22:49:00
authormegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:50:19 +0000 (06:50 +0000)
committermegacz <megacz@xwt.org>
Fri, 30 Jan 2004 06:50:19 +0000 (06:50 +0000)
darcs-hash:20040130065019-2ba56-70b503588cca4de33f8d4d19a62b3d50a07c98f5.gz

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();
-            */
         }
     }