Call unregisterCommand instead of registerCommand (#4596)
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>pull/4561/head
parent
fe9af132aa
commit
3a30c7a44a
|
@ -100,7 +100,7 @@ public class ConsoleSupportKaraf {
|
|||
*/
|
||||
private void unregisterCommands() {
|
||||
for (final ConsoleCommandExtension command : commands) {
|
||||
registerCommand(command);
|
||||
unregisterCommand(command);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue