...
authorkrakjoe <joe.watkins@live.co.uk>
Sat, 30 Nov 2013 00:44:34 +0000 (00:44 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Sat, 30 Nov 2013 00:44:34 +0000 (00:44 +0000)
tutorials/java/dist/phpdbg-ui.jar
tutorials/java/src/phpdbg/ui/DebugSocket.java

index f11cf4aa37b28e752c07007c745276ee776c8f61..c6eb0fa3d2122f5a3b9bf169b639c689f4cd9023 100644 (file)
Binary files a/tutorials/java/dist/phpdbg-ui.jar and b/tutorials/java/dist/phpdbg-ui.jar differ
index b8f30c4300993b63b191107680b094d2624be235..8e811e9be945f0c085f82bef49dd8228c908e50f 100644 (file)
@@ -74,12 +74,12 @@ public class DebugSocket implements Runnable {
             }
             
             if (reader) {
-                /* The reader thread part will wait() until there is input */
+                /* The reader thread will wait() until there is input */
                 Socket socket = new Socket(this.host, this.port);
+                String command;
+                OutputStream output = socket.getOutputStream();
+                
                 do {
-                    String command;
-                    OutputStream output = socket.getOutputStream();
-
                     synchronized(this) {
                         wait();