2003/05/08 13:38:40
[org.ibex.core.git] / src / org / xwt / Main.java
index 4eabbce..7713361 100644 (file)
@@ -130,8 +130,9 @@ public class Main extends Applet {
                 });
            
             // gcj-win32 exit()'s when the original thread dies, so we have to deadlock ourselves
-            if (Log.on) Log.log(Main.class, "main thread blocking on new semaphore");
-            new org.xwt.util.Semaphore().block();
+            //if (Log.on) Log.log(Main.class, "main thread blocking on new semaphore");
+            //new org.xwt.util.Semaphore().block();
+            Platform.running();
 
         } catch (Throwable e) {
             e.printStackTrace();