-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unit test failed with as3-signal 0.8 #17
Comments
I want to update as3-signal to 0.8, SwiftSuspenders to 1.6.0. updating SwiftSuspenders is OK (42/42 test passed), but updating as3-signals cause 2/42 test cases failed as above. How to reproduce:
|
I'm not able to recreate this - updating to the signals 0.8 swc hasn't changed anything. I've pushed to my fork, which now has the SS1.6 and Signals 0.8 swcs in. Can you grab the source from my fork and confirm that it's still giving you the error? If you're still seeing the problem, can you raise an issue on the Signals repo, as signals should fire in the order in which they're added - so we might need Mr Penner's help here too. Thx Stray |
Oh, sorry :D, |
This issue is indeed in the current source. Joa's new linked-list implementation runs backward through the signals. Robert is aware of the issue and the next release will either provide a work-around (an option to run signals in order added) or it will be official that they run backwards and we'll manage the ordering internally in the SCM itself. |
I wrote a PrioritySignal that is basically a Signal that will execute with a) a given priority or b) in the order in which it was added. it is in the head here https://github.com/robertpenner/as3-signals/tree/master/src/org/osflash/signals. if the order of a signal's execution is paramount, use the PrioritySignal, the dispatching will be suboptimal, but the order will be correct can this issue be closed? |
2/42 failed:
The text was updated successfully, but these errors were encountered: