1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-26 20:35:21 +01:00
This commit is contained in:
Jamiel 2019-09-16 23:04:07 +02:00
parent db324e5d01
commit 05ea3eafb8

View File

@ -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;
}