Skip to content

Commit

Permalink
Merge pull request apache#3067 from wqyfavor/protect-invalid-arg
Browse files Browse the repository at this point in the history
[iOS] Remove log which may cause infinite loop printing invalid object.
  • Loading branch information
jianhan-he authored Dec 9, 2019
2 parents 69c9ed6 + 9714213 commit fff1284
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ios/sdk/WeexSDK/Sources/Utility/WXUtility.m
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,6 @@ + (BOOL)isBlankString:(NSString *)string {
return true;
}
if (![string isKindOfClass:[NSString class]]) {
WXLogError(@"%@ is not a string", string);
return true;
}
if ([[string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]] length] == 0) {
Expand Down

0 comments on commit fff1284

Please sign in to comment.