Skip to content

Commit

Permalink
Try to fix progress bar persisting when following a redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Intrepidd committed Feb 7, 2024
1 parent aef1abd commit e9bd02d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/drive/visit.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,11 @@ export class Visit {
complete() {
if (this.state == VisitState.started) {
this.recordTimingMetric(TimingMetric.visitEnd)
this.adapter.visitCompleted(this)
this.state = VisitState.completed
this.followRedirect()

if (!this.followedRedirect) {
this.adapter.visitCompleted(this)
this.delegate.visitCompleted(this)
}
}
Expand Down

0 comments on commit e9bd02d

Please sign in to comment.