Now we dont delete all links to childs so it continue to execute Need to find way to removeObject completely may be object.delete = function () {delete this'}