Crash fix on VPN connection

This commit is contained in:
pokamest 2023-01-31 01:38:49 +00:00
parent ddefb99e5e
commit 32ca02bcc7

View file

@ -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();