Fix SSH askpass helper text-file-busy race
This commit is contained in:
@@ -7,8 +7,6 @@
|
||||
#include <QString>
|
||||
#include <QTimer>
|
||||
|
||||
class QTemporaryFile;
|
||||
|
||||
class SshSessionBackend : public SessionBackend
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -37,7 +35,7 @@ private:
|
||||
bool m_reconnectPending;
|
||||
SessionConnectOptions m_reconnectOptions;
|
||||
QString m_lastRawError;
|
||||
QTemporaryFile* m_askPassScript;
|
||||
QString m_askPassScriptPath;
|
||||
|
||||
void setState(SessionState state, const QString& message);
|
||||
bool startSshProcess(const SessionConnectOptions& options);
|
||||
|
||||
Reference in New Issue
Block a user