Skip to content
Snippets Groups Projects
Commit e1451bb1 authored by andreykproductengine's avatar andreykproductengine
Browse files

DRTVWR-493 Do not recreate proxy only to destroy it

parent 27d391b2
No related branches found
No related tags found
No related merge requests found
......@@ -403,8 +403,11 @@ LLSocks5AuthType LLProxy::getSelectedAuthMethod() const
//static
void LLProxy::cleanupClass()
{
getInstance()->stopSOCKSProxy();
deleteSingleton();
if (instanceExists())
{
getInstance()->stopSOCKSProxy();
deleteSingleton();
}
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment