Skip to content
Snippets Groups Projects
Commit c326bafc authored by Jens Georg's avatar Jens Georg
Browse files

Only write recovery accessor if VersionNumber exists

parent 0f9cced4
No related branches found
No related tags found
No related merge requests found
......@@ -380,7 +380,9 @@ namespace ChimeraTK {
{ // scope for the lock guard
boost::unique_lock<boost::shared_mutex> uniqueLock(recoverySharedMutex);
for(auto& te : writeRecoveryOpen) {
te->write();
if(te->getVersionNumber() != VersionNumber{nullptr}) {
te->write();
}
}
} // end of scope for the lock guard
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment