Add delay for Linux wakeup reconnect
This commit is contained in:
parent
62d9bcaf7f
commit
71691fa01e
1 changed files with 1 additions and 1 deletions
|
|
@ -289,7 +289,7 @@ void VpnConnection::connectToVpn(int serverIndex, const ServerCredentials &crede
|
|||
void VpnConnection::restartConnection()
|
||||
{
|
||||
this->disconnectFromVpn();
|
||||
#ifdef (Q_OS_LINUX)
|
||||
#ifdef Q_OS_LINUX
|
||||
QThread::msleep(5000);
|
||||
#endif
|
||||
this->connectToVpn(m_serverIndex, m_serverCredentials, m_dockerContainer, m_vpnConfiguration);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue