Merge PR #3842: Fix deprecated QSslSocket::setDefaultCaCertificates

This commit is contained in:
Davide Beatrici 2019-10-12 10:41:23 +02:00 committed by GitHub
commit de8a92ea53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -598,10 +598,8 @@ int main(int argc, char **argv) {
Global::g_global_struct = NULL;
#ifndef QT_NO_DEBUG
// Hide Qt memory leak.
QSslSocket::setDefaultCaCertificates(QList<QSslCertificate>());
// Release global protobuf memory allocations.
#if (GOOGLE_PROTOBUF_VERSION >= 2001000)
// Release global protobuf memory allocations.
google::protobuf::ShutdownProtobufLibrary();
#endif
#endif