[TIMOB-24268] Windows: Investigate - Use of HttpClient hangs UI tests
| GitHub Issue | n/a |
|---|---|
| Type | Story |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2017-01-06T07:56:37.000+0000 |
| Affected Version/s | Release 6.0.0 |
| Fix Version/s | Release 6.1.0 |
| Components | Windows |
| Labels | n/a |
| Reporter | Kota Iguchi |
| Assignee | Kota Iguchi |
| Created | 2017-01-03T07:53:15.000+0000 |
| Updated | 2017-05-02T21:25:04.000+0000 |
Description
Enabling [ti.network.httpclient.test.js](https://github.com/appcelerator/titanium_mobile_windows/blob/master/Examples/NMocha/src/Assets/ti.network.httpclient.test.js) on our Jenkins causes freezes at some point on UI tests, especially we've been seeing hangs around [ti.ui.listview.test.js](https://github.com/appcelerator/titanium_mobile_windows/blob/master/Examples/NMocha/src/Assets/ti.ui.listview.test.js). We suspect it has to be something leaking in
HttpClient .
So this patch works; https://github.com/appcelerator/titanium_mobile_windows/pull/914 because
concurrency::cancellation_token_sourcedoesn't work well with C++ destructor maybe?https://github.com/appcelerator/titanium_mobile_windows/pull/918