From 04d10d7fd3451dd9a3e18a275b4fd90659c67275 Mon Sep 17 00:00:00 2001 From: csoler Date: Tue, 7 Mar 2023 09:28:16 +0100 Subject: [PATCH] quick bug fix for crash in server page --- retroshare-gui/src/gui/MainWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/MainWindow.cpp b/retroshare-gui/src/gui/MainWindow.cpp index 8695057a2..a59d76dfb 100644 --- a/retroshare-gui/src/gui/MainWindow.cpp +++ b/retroshare-gui/src/gui/MainWindow.cpp @@ -1630,7 +1630,8 @@ NATStatus *MainWindow::natstatusInstance() void MainWindow::torstatusReset() { - torstatus->reset(); + if(torstatus != nullptr) + torstatus->reset(); } DHTStatus *MainWindow::dhtstatusInstance() {