Closed copybara-service[bot] closed 10 months ago
Avoid dereferencing a nil value for NSError in GREYWaitForAppToIdleWithTimeoutAndError.
If someone calls this passing in nil, it can seg-fault and crash. Which doesn't seem very desirable. Instead, just continue and let it return NO for success.
nil
NO
Avoid dereferencing a nil value for NSError in GREYWaitForAppToIdleWithTimeoutAndError.
If someone calls this passing in
nil
, it can seg-fault and crash. Which doesn't seem very desirable. Instead, just continue and let it returnNO
for success.