| 354 | void CChannelSFTP::OnClose() |
| 355 | { |
| 356 | foreach (auto d, m_vDirs) { |
| 357 | if(d->sftp) { |
| 358 | sftp_closedir(d->sftp); |
| 359 | d->sftp = nullptr; |
| 360 | } |
| 361 | } |
| 362 | m_vDirs.clear(); |
| 363 | foreach(auto f, m_vFiles) { |
| 364 | if(f->remote) { |
nothing calls this directly
no test coverage detected