mirror of
https://github.com/danog/phpseclib.git
synced 2024-11-26 20:35:21 +01:00
This commit is contained in:
parent
db324e5d01
commit
05ea3eafb8
@ -4157,7 +4157,9 @@ class Net_SSH2
|
||||
}
|
||||
|
||||
$this->bitmap = 0;
|
||||
fclose($this->fsock);
|
||||
if (is_resource($this->fsock) && get_resource_type($this->fsock) == 'stream') {
|
||||
fclose($this->fsock);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user