mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Revert non-working hack
This commit is contained in:
parent
fb0a883f7b
commit
ea85d68a26
@ -48,10 +48,6 @@
|
||||
#include <QNetworkProxy>
|
||||
#include <QNetworkProxyFactory>
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
#include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
namespace Mirall {
|
||||
|
||||
// application logging handler.
|
||||
@ -105,16 +101,6 @@ Application::Application(int &argc, char **argv) :
|
||||
//no need to waste time;
|
||||
if ( _helpOnly ) return;
|
||||
|
||||
#ifdef Q_OS_LINUX
|
||||
// HACK: bump the refcount for libgnutls by calling dlopen()
|
||||
// so gnutls, which is an dependency of libneon on some linux
|
||||
// distros, and does not cleanup it's FDs properly, does
|
||||
// not get unloaded. This works around a FD exhaustion crash
|
||||
// (#154). We are not using gnutls at all and it's fine
|
||||
// if loading fails, so no error handling is performed here.
|
||||
dlopen("libgnutls.so", RTLD_LAZY|RTLD_NODELETE);
|
||||
#endif
|
||||
|
||||
connect( this, SIGNAL(messageReceived(QString)), SLOT(slotParseOptions(QString)));
|
||||
connect( Logger::instance(), SIGNAL(guiLog(QString,QString)),
|
||||
this, SLOT(slotShowTrayMessage(QString,QString)));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user