Open doy opened 10 years ago
Calling remove_behavior from within sort_behaviors goes into an infinite loop, because the default value for the behaviors attribute calls sort_behaviors, and remove_behavior calls _delete_behavior, which is a native delegation on behaviors.
remove_behavior
sort_behaviors
behaviors
_delete_behavior
Honestly though, the other personalities are really not all that useful. Might be better to just remove them.
Calling
remove_behavior
from withinsort_behaviors
goes into an infinite loop, because the default value for thebehaviors
attribute callssort_behaviors
, andremove_behavior
calls_delete_behavior
, which is a native delegation onbehaviors
.