aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.cpp
diff options
context:
space:
mode:
authorTomas Åkesson <tomas@entropic.se>2023-04-01 15:51:10 +0200
committerFelix Queißner <felix@ib-queissner.de>2023-04-01 19:50:05 +0200
commiteecc1d587c5860622b97d600ace0e4456048f114 (patch)
tree5c1ff96bb7202166d5477c48ad0a7882286382bb /src/browsertab.cpp
parent84c11ed7669e665863460384cc78a5ed9341552b (diff)
Fix crash when closing gopher tab during content loading
Diffstat (limited to 'src/browsertab.cpp')
-rw-r--r--src/browsertab.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp
index eb879d1..1a1e9ba 100644
--- a/src/browsertab.cpp
+++ b/src/browsertab.cpp
@@ -176,6 +176,7 @@ BrowserTab::BrowserTab(MainWindow *mainWindow) : QWidget(nullptr),
BrowserTab::~BrowserTab()
{
+ this->current_handler->cancelRequest();
delete ui;
}