felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccust...@apache.org
Subject svn commit: r834355 - /felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/shell/Pipe.java
Date Tue, 10 Nov 2009 05:35:24 GMT
Author: ccustine
Date: Tue Nov 10 05:35:23 2009
New Revision: 834355

URL: http://svn.apache.org/viewvc?rev=834355&view=rev
Log:
FELIX-1858 - Remote commands via ssh only work once per restart

Modified:
    felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/shell/Pipe.java

Modified: felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/shell/Pipe.java
URL: http://svn.apache.org/viewvc/felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/shell/Pipe.java?rev=834355&r1=834354&r2=834355&view=diff
==============================================================================
--- felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/shell/Pipe.java (original)
+++ felix/trunk/gogo/runtime/src/main/java/org/apache/felix/gogo/runtime/shell/Pipe.java Tue
Nov 10 05:35:23 2009
@@ -103,9 +103,6 @@
         {
             out.flush();
             closure.session.service.threadIO.close();
-            tIn.set(in);
-            tOut.set(out);
-            tErr.set(err);
 
             try
             {
@@ -122,6 +119,11 @@
             {
                 e.printStackTrace();
             }
+
+            tIn.set(null);
+            tOut.set(null);
+            tErr.set(null);
+
         }
     }
 }



Mime
View raw message