John Engelhart
ea64d7d09b
Pr/fix unit tests memory leaks ( #1795 )
...
* Fix some concurrency problems detected by Xcode 8's new Thread Sanitizer.
Some of these changes are arguably just to silence the warnings from Thread Sanitizer.
* Fix several memory leaks in the unit tests.
A number of the unit test source files are compield with `-fno-objc-arc`. This was clearly overlooked when writing several of the unit tests.
Fixed by (mostly) switching to use of `-autorelease` for the problem code.
NOTE: This commit doesn't fix all the memory leaks found. There's still at least one leak in `-[ASDisplayNodeTests testSetNeedsDataFetchImmediateState]`, and several leaks in `ASBasicImageDownloader.mm`. I wasn't able to find a trivial cause to these, unfortunately.
2016-06-22 16:56:53 -07:00
..
2016-06-22 16:56:53 -07:00
2016-06-11 23:31:39 -07:00
2016-06-22 16:56:53 -07:00
2016-06-20 13:42:17 -07: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-06-11 23:31:39 -07: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-06-11 23:31:39 -07: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-06-22 16:21:10 -07: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-06-11 23:31:39 -07: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-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-20 13:34:14 -07: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-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-17 13:55:32 -07:00
2016-06-11 23:31:39 -07:00
2016-06-19 18:52:32 -07:00
2016-06-11 23:31:39 -07:00
2016-06-20 20:18:44 -07: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-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-16 18:18:43 -07: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-06-20 07:50:40 -07: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-06-11 23:31:39 -07: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-06-11 23:31:39 -07: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-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-22 16:21:10 -07: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-06-20 13:42:17 -07: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-06-11 23:31:39 -07: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-06-11 23:31:39 -07:00
2016-06-11 23:31:39 -07:00
2016-06-22 15:37:00 -07: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
2015-09-16 20:15:48 -04:00