Menu

#70 ConnectionNode.destroy() fails

open
nobody
5
2004-07-02
2004-07-02
Anonymous
No

ConnectionNode.destroy() is implemented such that
super.destroy() was called before deleteConnection().
This causes a problem in deleteConnection as the prior
call to super.destroy() causes the loss of the reference
to the parent node which the deleteConnection's call to
this.getParentNode().getChildren().remove(new Node[] {
this }) relies upon.
This can be remidied by calling deleteConnection before
calling super.destroy.

Regards Gary Palmer (Software Engineer)
gary_dot_palmer_at_intamission_dot_com

Discussion


Log in to post a comment.