weak ref type was wrong
This commit is contained in:
parent
6815a48408
commit
682703aa24
@ -777,7 +777,7 @@
|
||||
if (_userAgentLockToken != 0) {
|
||||
[self.webView loadRequest:request];
|
||||
} else {
|
||||
__weak CDVInAppBrowser* weakSelf = self;
|
||||
__weak CDVInAppBrowserViewController* weakSelf = self;
|
||||
[CDVUserAgentUtil acquireLock:^(NSInteger lockToken) {
|
||||
_userAgentLockToken = lockToken;
|
||||
[CDVUserAgentUtil setUserAgent:_userAgent lockToken:lockToken];
|
||||
|
Loading…
Reference in New Issue
Block a user