You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2007/09/22 16:20:12 UTC

svn commit: r578441 - /geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RemoteShellProxy.java

Author: jdillon
Date: Sat Sep 22 07:20:11 2007
New Revision: 578441

URL: http://svn.apache.org/viewvc?rev=578441&view=rev
Log:
Close the output feeder after the client has been closed

Modified:
    geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RemoteShellProxy.java

Modified: geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RemoteShellProxy.java
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RemoteShellProxy.java?rev=578441&r1=578440&r2=578441&view=diff
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RemoteShellProxy.java (original)
+++ geronimo/sandbox/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RemoteShellProxy.java Sat Sep 22 07:20:11 2007
@@ -102,15 +102,15 @@
 
     public void close() {
         try {
-            outputFeeder.close();
+            client.closeShell();
         }
         catch (Exception ignore) {}
 
         try {
-            client.closeShell();
+            outputFeeder.close();
         }
         catch (Exception ignore) {}
-
+        
         opened = false;
     }