Showing
1 changed file
with
3 additions
and
1 deletions
@@ -140,7 +140,9 @@ | @@ -140,7 +140,9 @@ | ||
140 | 140 | ||
141 | - (void)unMockLocalURLResource { | 141 | - (void)unMockLocalURLResource { |
142 | @synchronized (self.schemeArray) { | 142 | @synchronized (self.schemeArray) { |
143 | - self.schemeArray = [NSArray array]; | 143 | + if (self.schemeArray.count > 0) { |
144 | + self.schemeArray = [NSArray array]; | ||
145 | + } | ||
144 | } | 146 | } |
145 | } | 147 | } |
146 | 148 |
-
Please register or login to post a comment