From 6c6653719e25e5e2fbbef2a8a6e821a5601553e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Klitzing?= Date: Fri, 18 Aug 2023 14:32:57 +0200 Subject: [PATCH] Fix living QLibProxyWrapper after shutdown of QCoreApplication MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-84234 Change-Id: I8f5e2947b6529a0a8871d040050205934ee60354 Reviewed-by: MÃ¥rten Nordheim (cherry picked from commit cda98280edd2ab7b8d6b3dee08281b045c470dc5) Reviewed-by: Qt Cherry-pick Bot --- src/network/kernel/qnetworkproxy_libproxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/kernel/qnetworkproxy_libproxy.cpp b/src/network/kernel/qnetworkproxy_libproxy.cpp index 46066b86f72..6de7a7fb763 100644 --- a/src/network/kernel/qnetworkproxy_libproxy.cpp +++ b/src/network/kernel/qnetworkproxy_libproxy.cpp @@ -72,7 +72,7 @@ private: Data *request; }; -Q_GLOBAL_STATIC(QLibProxyWrapper, libProxyWrapper); +Q_APPLICATION_STATIC(QLibProxyWrapper, libProxyWrapper) QLibProxyWrapper::QLibProxyWrapper() {