Hello All,
I have tried to investigate about hanging shutdown problem that i see
in karaf 2.3.0.
Checking svn history I saw that with the jira KARAF-1702 seems to have
introduced the trivial "problem"

with this piece of code the problem is resolved

@@ -146,7 +146,6 @@
                 // ignore
             }
         }
-        reader.shutdown();
         running = false;
         CommandSessionHolder.unset();
         pipe.interrupt();
@@ -189,6 +188,11 @@
             }
         }
         close(true);
+        //System.err.println("Exiting console...");
+        if (closeCallback != null)
+        {
+            closeCallback.run();
+        }
     }


Has you can see i have done a simple revert, but IMHO the issue need to
be review


What do you think ?


Thanks for attention

--Filippo

Reply via email to