[TIMOB-15383] MobileWeb: Animations need to be made more asynchronous via setTimeout to avoid hideously huge stacks
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-09-30T23:26:34.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | 2013 Sprint 20, 2013 Sprint 20 Tooling, Release 3.2.0 |
| Components | MobileWeb |
| Labels | n/a |
| Reporter | Bryan Hughes |
| Assignee | Chris Barber |
| Created | 2013-09-30T23:20:18.000+0000 |
| Updated | 2017-03-09T00:27:32.000+0000 |
Description
If a startup delay is not specified, the go() method is called immediately, which causes the animation to become more synchronous. This causes call-stacks to grow over time and makes memory leaks more common. Wrapping it in a setTimeout(0) will fix it.
PR: https://github.com/appcelerator/titanium_mobile/pull/4751
Closing ticket as fixed.