- fix in FroxlorSshTransport::close()
This commit is contained in:
@@ -245,7 +245,10 @@ class FroxlorSshTransport
|
|||||||
public function close()
|
public function close()
|
||||||
{
|
{
|
||||||
// close the session and force flushing file content to disk
|
// close the session and force flushing file content to disk
|
||||||
|
if (!is_null($this->_connection)) {
|
||||||
ssh2_exec($this->_connection, 'exit');
|
ssh2_exec($this->_connection, 'exit');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// set null values
|
// set null values
|
||||||
$this->_shell = null;
|
$this->_shell = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user