[TIMOB-7692] iOS: Crash on context close
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2012-02-16T15:42:40.000+0000 |
| Affected Version/s | Release 1.8.2 |
| Fix Version/s | Sprint 2012-04, Release 2.0.0, Release 1.8.2 |
| Components | n/a |
| Labels | n/a |
| Reporter | Stephen Tramer |
| Assignee | Neeraj Gupta |
| Created | 2012-02-16T14:48:36.000+0000 |
| Updated | 2012-08-15T10:10:53.000+0000 |
Description
There's a
self ref in a block during -[TiModule dealloc]. This needs to be referenced via a __block id reference to self to avoid the retain.
Pull requests https://github.com/appcelerator/titanium_mobile/pull/1448 https://github.com/appcelerator/titanium_mobile/pull/1449 merged.
Verified fixed with : Mobile sdk-2.2.0.v20120810080115 Titanium Studio, build: 2.1.1.201207271312 Device: Ipad 5.1