Skip to content

Commit

Permalink
Merge pull request #3375 from pnorbert/fix-MaxOpenFilesAtOnce
Browse files Browse the repository at this point in the history
Remove closed file from map of transports so that we don't attempt to close it again
pnorbert authored Oct 25, 2022
2 parents c7bbda4 + f3bc57f commit cda6a53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/adios2/toolkit/transportman/TransportMan.cpp
Original file line number Diff line number Diff line change
@@ -459,6 +459,7 @@ void TransportMan::CloseFiles(const int transportIndex)
CheckFile(itTransport, ", in call to CloseFiles with index " +
std::to_string(transportIndex));
itTransport->second->Close();
m_Transports.erase(itTransport);
}
}

0 comments on commit cda6a53

Please sign in to comment.