CedC
Normal11mo ago
9 replies
Ced

RealtimeDictionary: new issue with 2.13.2 ?

Hello, I used to clear my RealtimeDictionary this way in version 2.10.4:
while (blocks.Count > 0)
blocks.Remove(blocks.First().Key);

Where blocks is generated model from:
[RealtimeProperty(1, true, true)] private RealtimeDictionary<BlockDataRealtimeModel> _blocks;

However in version 2.13.2, RealtimeDictionary.Count seems not updated after a Remove.

Am I missing something ?
Is there a cleaner way to clear a RealtimeDictionary ?
Was this page helpful?