Merge pull request #192 from facebook/pool-fixes
Use appropriate option set for FBSimulatorAllocationOptionsEraseOnFree
This commit is contained in:
Коммит
eeb7108ee2
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче