properly destroy objects when called from associated object.
Merge pull request #278 from kuldeepaggarwal/fix-#162

properly destroy objects when called from associated object.