Windows - fix QWindowsSystemProxy global static race
Loser of the race would try to delete an uninitialised pointer Task-number: QTBUG-15765 Change-Id: Ie184ee2306e102aa8fbad752ef09b95c3ede00c2 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
11f9d18731
commit
2cf8e487a5
@ -256,7 +256,7 @@ public:
|
||||
Q_GLOBAL_STATIC(QWindowsSystemProxy, systemProxy)
|
||||
|
||||
QWindowsSystemProxy::QWindowsSystemProxy()
|
||||
: initialized(false), functional(false), isAutoConfig(false)
|
||||
: hHttpSession(0), initialized(false), functional(false), isAutoConfig(false)
|
||||
{
|
||||
defaultResult << QNetworkProxy::NoProxy;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user