Fixed bad copypasta in registry

This commit is contained in:
Emmanuel BENOîT 2015-09-17 22:15:47 +02:00
parent 3dc2f5b8d1
commit 5e433f940d

View file

@ -549,7 +549,7 @@ public class ComponentRegistry
throws ComponentDestructionException
{
try {
this.components.get( index ).init( );
this.components.get( index ).stop( );
} catch ( RuntimeException e ) {
this.failed = true;
throw e;
@ -561,7 +561,7 @@ public class ComponentRegistry
throws ComponentDestructionException
{
try {
this.components.get( index ).init( );
this.components.get( index ).destroy( );
} catch ( RuntimeException e ) {
this.failed = true;
throw e;