Merge pull request #192 from facebook/pool-fixes

Use appropriate option set for FBSimulatorAllocationOptionsEraseOnFree
This commit is contained in:
Lawrence Lomax 2016-02-01 17:15:11 +00:00
Родитель 1b912e8b21 ce962d2edb
Коммит eeb7108ee2
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -224,7 +224,7 @@
return YES;
}
BOOL eraseOnFree = (self.configuration.options & FBSimulatorAllocationOptionsEraseOnFree) == FBSimulatorAllocationOptionsEraseOnFree;
BOOL eraseOnFree = (options & FBSimulatorAllocationOptionsEraseOnFree) == FBSimulatorAllocationOptionsEraseOnFree;
if (eraseOnFree) {
if (![simulator eraseWithError:&innerError]) {
return [[[[[FBSimulatorError