JesterXL/Lua-Corona-SDK-State-Machine — pull request #1 by thefuntastic (2012-07-30 11:35:43+00:00)
Title: Exit parent states failing. 

Fixed loop on change state. The counter (p) was never incremented, thus the loop would fail when exiting from a child state with a parent to a different state.

Wasn't sure of how to run unit tests successfully. But to my mind this should be a valid test case.