From fadc900a0a8ff236b40da30fad48110902204b91 Mon Sep 17 00:00:00 2001 From: James Turner Date: Thu, 25 Feb 2021 09:02:58 +0000 Subject: [PATCH] Revert "NaturalEarthLoader: free the thread, oops" THis doesn't work in all timing conditions, because the thread can commit suicide. This reverts commit aeca129034a63e7159468042c20871b4cb2b10c1. --- src/GUI/QtLauncher.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GUI/QtLauncher.cxx b/src/GUI/QtLauncher.cxx index e057550db..e9453b2b9 100644 --- a/src/GUI/QtLauncher.cxx +++ b/src/GUI/QtLauncher.cxx @@ -629,7 +629,7 @@ bool runLauncherDialog() // will happen as normal http->init(); - std::unique_ptr naturalEarthLoader{new NaturalEarthDataLoaderThread}; + QPointer naturalEarthLoader = new NaturalEarthDataLoaderThread; naturalEarthLoader->start(); // avoid double Apple menu and other weirdness if both Qt and OSG