Skip to content

Conversation

ScottMcMichael
Copy link
Contributor

Adding the clear() call causes the contents of the ConcurrentMap to be replaced by the archive data, without it the archive data is appended to the current object contents.

@varunagrawal
Copy link
Contributor

@ScottMcMichael thanks for the PR! Can you please add a small unit test to ensure we can catch this in the future? You'll be able to find other tests for serialization in the repo.

Copy link
Contributor

@varunagrawal varunagrawal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks @ScottMcMichael

@varunagrawal varunagrawal merged commit 0af17f4 into borglab:develop Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants