From e9bd02db7ad50261940d0895eb4168d7c4c887b7 Mon Sep 17 00:00:00 2001 From: Adrien Siami Date: Wed, 7 Feb 2024 14:03:49 +0100 Subject: [PATCH] Try to fix progress bar persisting when following a redirect --- src/core/drive/visit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/drive/visit.js b/src/core/drive/visit.js index 3adad253c..ec7565979 100644 --- a/src/core/drive/visit.js +++ b/src/core/drive/visit.js @@ -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) } }