emberjs/ember.js — pull request #535 by blt04 (2012-02-23 23:15:39+00:00)
Title: Clone exit states before reversing

Reversing the raw exitStates array also reverses cached states, causing problems when changing to a state multiple times. This clones the array before reversing it.

Tests included.