Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ios
/
YH_Explorer
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
孟顺
6 years ago
Commit
a2fc0445ebb619c79659159a2fc0471ac8e12061
1 parent
a435f678
修复UIWebview 桥接方法失败问题
review by 枪兵
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
YHExplorer/CordovaLib/Classes/Public/CDVViewController.m
YHExplorer/CordovaLib/Classes/Public/CDVViewController.m
View file @
a2fc044
...
...
@@ -324,8 +324,8 @@
[
CDVUserAgentUtil
acquireLock
:
^
(
NSInteger
lockToken
)
{
// Fix the memory leak caused by the strong reference.
[
weakSelf
setLockToken
:
lockToken
]
;
if
(
appURL
)
{
[
weakSelf
setLockToken
:
lockToken
]
;
NSURLRequest
*
appReq
=
[
NSURLRequest
requestWithURL
:
appURL
cachePolicy
:
NSURLRequestUseProtocolCachePolicy
timeoutInterval
:
20
.
0
]
;
[
self
.
webViewEngine
loadRequest
:
appReq
]
;
}
...
...
Please
register
or
login
to post a comment