mirror of
https://github.com/material-components/material-components-ios.git
synced 2026-02-20 08:27:32 +08:00
Deallocating many of the properties created for each unit test. Since all XCTestCase instances survive until the end of the test suite, any properties created for a test will be preserved as well. This frees up around 3.7 MB (~6%) of memory from the entire test suite, as measured on my desktop. |Before|After| |----|----| ||| See also: https://qualitycoding.org/xctestcase-teardown/ Closes #5395