Just delete children and related from del_pre_hook, not del_hook!
Just delete children and related from del_pre_hook, not del_hook!

At del_hook() stuff are already gone and invalid access may
happen. Doing it from del_pre_hook you still have things working nice.

Also refactor the destructor to do recursion and stop allocate list
nodes to avoid it... simpler.



SVN revision: 52114

rvandegrift/elementary,tasn/elementary,FlorentRevest/Elementary,tasn/elementary,FlorentRevest/Elementary,tasn/elementary,tasn/elementary,FlorentRevest/Elementary,rvandegrift/elementary,rvandegrift/elementary,tasn/elementary,FlorentRevest/Elementary,rvandegrift/elementary