parent
5989547f40
commit
9d061aaaff
|
|
@ -78,7 +78,7 @@
|
|||
</AdditionalOptions>
|
||||
</TestAction>
|
||||
<LaunchAction
|
||||
buildConfiguration = "Release"
|
||||
buildConfiguration = "Debug"
|
||||
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
|
||||
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
|
||||
language = ""
|
||||
|
|
|
|||
|
|
@ -89,6 +89,11 @@ internal class ReCaptchaWebViewManager {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// Flags all requests as finished
|
||||
func reset() {
|
||||
activeRequests.removeAll()
|
||||
}
|
||||
}
|
||||
|
||||
fileprivate struct Constants {
|
||||
|
|
@ -206,6 +211,7 @@ internal class ReCaptchaWebViewManager {
|
|||
*/
|
||||
func reset() {
|
||||
didFinishLoading = false
|
||||
webviewDelegate.reset()
|
||||
|
||||
webView.evaluateJavaScript(Constants.ResetCommand) { [weak self] _, error in
|
||||
if let error = error {
|
||||
|
|
|
|||
Loading…
Reference in New Issue