The condition for collector finalization was bad. I has to be reversed.
This is a fix of issue #21710.
1.1 --- a/vcscore/src/org/netbeans/modules/vcscore/commands/CommandsPool.java Fri Apr 05 16:14:13 2002 +0000
1.2 +++ b/vcscore/src/org/netbeans/modules/vcscore/commands/CommandsPool.java Fri Apr 05 16:41:29 2002 +0000
1.3 @@ -400,7 +400,7 @@
1.4 }
1.5 if (collector != null) {
1.6 CommandOutputVisualizer visualizer = (CommandOutputVisualizer) outputVisualizers.get(removedExecutor.getCommand());
1.7 - if (visualizer != null) {
1.8 + if (visualizer == null) {
1.9 collector.finalize();
1.10 }
1.11 }