Skip to content

Commit

Permalink
merged Chris's address fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii committed Feb 27, 2010
2 parents 5b56770 + e8219f2 commit 5894300
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -218,6 +218,7 @@ public void init( ) {//Should only EVER be called externally after loading from
this.instanceAddress = UNASSIGNED_INSTANCEADDR;
this.instanceId = UNASSIGNED_INSTANCEID;
Address.removeAddress( this.name );
this.state.set( State.unallocated, false );
} else {
Addresses.getInstance( ).register( this );
this.state.set( State.allocated, false );
Expand Down
Expand Up @@ -134,7 +134,7 @@ public class UnassignAddressCallback extends QueuedEventCallback<UnassignAddress
try { this.address.release(); } catch( Throwable t ) {
LOG.warn( "Failed to release orphan address: " + this.address );
}
}
}
}
}

Expand Down

0 comments on commit 5894300

Please sign in to comment.