mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 11:37:33 +00:00
Merge branch '2.0' into 3.0
This commit is contained in:
commit
3af5d3b530
@ -4070,7 +4070,9 @@ class 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