From b7f916f1f9601c4a5d36b0dd34950e592c711f04 Mon Sep 17 00:00:00 2001 From: mooff Date: Wed, 8 Dec 2021 22:57:28 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20deadlock=20when=20an=20abo?= =?UTF-8?q?ut:=20URL=20can't=20be=20loaded=20(#277)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- display/display.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/display/display.go b/display/display.go index 5940f4e..59f20db 100644 --- a/display/display.go +++ b/display/display.go @@ -540,13 +540,10 @@ func Reload() { func URL(u string) { t := tabs[curTab] if strings.HasPrefix(u, "about:") { - if final, ok := handleAbout(t, u); ok { - t.addToHistory(final) - } - return + go goURL(t, u) + } else { + go goURL(t, fixUserURL(u)) } - - go goURL(t, fixUserURL(u)) } func RenderFromString(str string) {