appleguy
360541fac5
[ASDisplayNode] Change _pendingDisplayNodes from NSMutableSet to ASWeakSet. ( #2340 )
...
In at least some cases, _pendingDisplayNodes referencing self can cause the
object to live longer than the application needs, while tearing down views.
It also appears there may be a cancellation condition where this state is
not balanced properly, which can cause a reference-cycle leak. This change
safely fixes this problem when tested against a repro case for it.
I'm filing a followup task to make sure all cancellation edge cases have
proper accounting for this codepath, even though the leak is fixed.
2016-10-04 10:22:54 -04:00
..
2016-09-08 14:06:49 -07:00
2016-06-11 23:31:39 -07:00
2016-08-09 15:31:37 -07:00
2016-10-03 19:13:50 -04:00
2016-10-03 19:13:50 -04:00
2016-06-11 23:31:39 -07:00
2016-09-29 14:30:05 -07:00
2016-09-20 15:39:09 -04:00
2016-08-18 15:01:41 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-10-01 14:04:05 -04:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-07-07 15:12:19 +10:00
2016-07-07 15:12:19 +10:00
2016-08-26 10:54:55 -07:00
2016-09-15 11:56:46 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-09-15 13:24:19 -07:00
2016-09-29 14:30:05 -07:00
2016-10-04 10:22:54 -04:00
2016-09-07 08:44:48 -07:00
2016-09-07 08:44:48 -07:00
2016-07-28 10:03:32 -07:00
2016-09-14 11:24:24 -07:00
2016-07-16 10:46:55 -07:00
2016-08-23 16:01:43 -07:00
2016-08-23 16:01:43 -07:00
2016-09-07 08:44:48 -07:00
2016-08-28 16:55:42 -07:00
2016-09-29 00:02:47 -07:00
2016-06-11 23:31:39 -07:00
2016-09-07 08:44:48 -07:00
2016-09-29 00:02:47 -07:00
2016-09-14 22:31:04 -07:00
2016-09-14 22:31:04 -07:00
2016-09-15 13:24:19 -07:00
2016-09-15 13:24:19 -07:00
2016-06-11 23:31:39 -07:00
2016-07-09 17:20:59 -07:00
2016-10-01 14:04:05 -04:00
2016-10-01 14:04:05 -04:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-09-29 00:02:47 -07:00
2016-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-09-22 16:00:52 -07:00
2016-09-29 00:02:47 -07:00
2016-09-29 00:02:47 -07:00
2016-08-03 13:10:50 -07:00
2016-08-03 13:10:50 -07:00