Clear keys and values when clearing seriazlied dict (#218)

This commit is contained in:
Adam Ramberg 2020-12-22 21:27:00 +01:00 committed by GitHub
parent 3c74509b5a
commit a503695fa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,6 +151,8 @@ namespace UnityAtoms.BaseAtoms
public void Clear()
{
_dict.Clear();
_serializedKeys.Clear();
_serializedValues.Clear();
_cleared?.Invoke();
}