From 32ca02bcc7afc97ff6d8b1bb85b935204f93c132 Mon Sep 17 00:00:00 2001 From: pokamest Date: Tue, 31 Jan 2023 01:38:49 +0000 Subject: [PATCH] Crash fix on VPN connection --- client/core/sshclient.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/core/sshclient.h b/client/core/sshclient.h index a54adab8..06f7a261 100644 --- a/client/core/sshclient.h +++ b/client/core/sshclient.h @@ -42,9 +42,9 @@ namespace libssh { ErrorCode fromLibsshErrorCode(int errorCode); ErrorCode fromLibsshSftpErrorCode(int errorCode); - ssh_session m_session; - ssh_channel m_channel; - sftp_session m_sftpSession; + ssh_session m_session {}; + ssh_channel m_channel {}; + sftp_session m_sftpSession {}; signals: void writeToChannelFinished(); void sftpFileCopyFinished();