-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DBP: Fix memory leak on WebViewHandler #2483
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -186,7 +186,9 @@ extension DataBrokerOperation { | |
switch actionType { | ||
case .click: | ||
stageCalculator?.fireOptOutFillForm() | ||
try? await webViewHandler?.waitForWebViewLoad(timeoutInSeconds: 30) | ||
try? await webViewHandler?.waitForWebViewLoad() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Bunn This is a collateral change of removing the timeout. We were doing similar for We will probably need the same retry function that is now on C-S-S with clicks, but because clicks are done in opt-out, I think it makes sense to do it after launch. |
||
// We wait 10 seconds before tapping | ||
try? await Task.sleep(nanoseconds: UInt64(10) * 1_000_000_000) | ||
await executeNextStep() | ||
case .fillForm: | ||
stageCalculator?.fireOptOutFillForm() | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add an assert here?