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
|
throws ComponentDestructionException
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
this.components.get( index ).init( );
|
this.components.get( index ).stop( );
|
||||||
} catch ( RuntimeException e ) {
|
} catch ( RuntimeException e ) {
|
||||||
this.failed = true;
|
this.failed = true;
|
||||||
throw e;
|
throw e;
|
||||||
|
@ -561,7 +561,7 @@ public class ComponentRegistry
|
||||||
throws ComponentDestructionException
|
throws ComponentDestructionException
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
this.components.get( index ).init( );
|
this.components.get( index ).destroy( );
|
||||||
} catch ( RuntimeException e ) {
|
} catch ( RuntimeException e ) {
|
||||||
this.failed = true;
|
this.failed = true;
|
||||||
throw e;
|
throw e;
|
||||||
|
|
Loading…
Reference in a new issue