public void dispose() { if (topic != null) { ITopic parent = topic.getParent(); if (parent != null) { parent.remove(topic); branch = null; } else { if (branch != null) { branch.getStatus().deactivate(); branch.removeNotify(); removeBranchView(); branch.setParent(null); branch = null; } } topic = null; } }