add xware destroy handle