derbyjs / racer

Realtime model synchronization engine for Node.js
1.18k stars 116 forks source link

Do not garbage collect a doc if it has pending ops in Share #265

Closed jeremymcintyre closed 5 years ago

jeremymcintyre commented 5 years ago

If Share is not going to garbage collect a doc yet because it has pending ops, Racer should not garbage collect it either. This prevents them from getting out of sync in highly specific scenarios.