Can't remove file segy file after vds conversion
Case:
- Use original code from openvds SEGYImport
- Convert any segy to vds - it OK, vds file successfully created.
- Do not close original app - and try to remove input segy file.
- Fail - user can't remove input segy while app is open.
For example:
traceDataManagers[fileIndex].addDataRequests(chunkInfo.secondaryKeyStart, chunkInfo.secondaryKeyStop, lower, upper);
->
m_dataViewManager->addDataRequests(requests);
->
prefetchUntilMemoryLimit();
->
auto dataView = std::make_shared<DataView>(m_dataProvider, req.offset, req.size, true, m_error);
segy use win32api file mapping
and seems like ptr not cleared.