Fixed bad copypasta in registry
This commit is contained in:
parent
3dc2f5b8d1
commit
5e433f940d
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue