Fix order of onAtRest
ClosedPublic

Authored by appsforartists on Aug 13 2017, 2:03 AM.

Details

Summary

I noticed that onAtRest was being called before the inner _springAtRest state was being set. I think this will cause a bug if someone tries to start a new spring inside an onAtRest listener. Thus, _springAtRest should be set before calling the listeners.

Diff Detail

Repository
R51 wobble
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
appsforartists created this revision.Aug 13 2017, 2:03 AM
Restricted Application completed building Restricted Buildable.Aug 13 2017, 2:03 AM
Restricted Application added a reviewer: skevy. · View Herald TranscriptAug 13 2017, 2:03 AM
Restricted Application completed building Restricted Buildable.Aug 13 2017, 2:05 AM
skevy accepted this revision.Aug 13 2017, 1:53 PM

Thanks!

This revision is now accepted and ready to land.Aug 13 2017, 1:53 PM
This revision was automatically updated to reflect the committed changes.