servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r643842 - /servicemix/smx4/kernel/trunk/gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/SpringCommandRegistry.java
Date Wed, 02 Apr 2008 10:56:02 GMT
Author: gnodet
Date: Wed Apr  2 03:55:58 2008
New Revision: 643842

URL: http://svn.apache.org/viewvc?rev=643842&view=rev
Log:
SMX4KNL-29: Shell commands are not unregistered automatically when the last command is unregistered

Modified:
    servicemix/smx4/kernel/trunk/gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/SpringCommandRegistry.java

Modified: servicemix/smx4/kernel/trunk/gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/SpringCommandRegistry.java
URL: http://svn.apache.org/viewvc/servicemix/smx4/kernel/trunk/gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/SpringCommandRegistry.java?rev=643842&r1=643841&r2=643842&view=diff
==============================================================================
--- servicemix/smx4/kernel/trunk/gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/SpringCommandRegistry.java
(original)
+++ servicemix/smx4/kernel/trunk/gshell/gshell-core/src/main/java/org/apache/geronimo/gshell/spring/SpringCommandRegistry.java
Wed Apr  2 03:55:58 2008
@@ -132,6 +132,7 @@
             gn.removeNode(n);
             if (gn.size() == 0) {
                 layout.removeNode(gn);
+                unregister(lookup(shell));
             }
         }
 



Mime
View raw message