[TIMOB-27832] iOS: Liveview disconnect triggers infinate error loop
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2020-08-11T14:57:07.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 9.1.0 |
Components | n/a |
Labels | n/a |
Reporter | Rene Pot |
Assignee | Jan Vennemann |
Created | 2020-04-06T08:40:23.000+0000 |
Updated | 2020-08-11T14:57:07.000+0000 |
Description
After killing liveview server any iOS simulator still running the app will go into an infinite loop with errors, spiking CPU and Memory usage.
First 5 minutes or so CPU/Memory doesn't show increased activity, after that it is going crazy (see screenshot)
*Expected result*
Liveview should detect a server disconnect and stop checking after that, it should show no more than 1 error.
Attachments
We're doing some liveview work in 9.1.0 so we'll take a look into this then
Any news on that? I'm developing on 2-3 simulators at once and have this problem when I open another. Have to click up to 20 times until the new simulator is open and the liveview server is active again
PR: https://github.com/appcelerator/liveview/pull/170
FR Passed. On disconnecting the liveview server the app continues to show without error screen. Verified with SDK 9.1.0.v20200617090641.
Cannot confirm with SDK 9.1.0.v20200617090641: https://cl.ly/9e4345365e2d
Good catch [~benutzername], looks like our detection doesn't work if your simulator is set to something other than english. Reopening so we can address that
oh. don't mind, that the language could be responsible for that. thank you
PR: https://github.com/appcelerator/liveview/pull/173
Liveview PR merged, will leave in review til dependabot makes a PR on titanium_mobile to update
liveview update done here https://github.com/appcelerator/titanium_mobile/pull/11784
FR Passed unable to to trigger infinite loop when using liveview even when changing the sim language tested on SDK Version
9.2.0.v20200717151411
and9.1.0.v20200717151341
*Test Environment*