digidem / mapeo-core-next

The upcoming version of Mapeo Core
MIT License
7 stars 1 forks source link

fix: remove replication error when core is closed #620

Closed EvanHahn closed 2 months ago

EvanHahn commented 2 months ago

Depends on https://github.com/digidem/digidem-types/pull/14. We can't merge this until that's deployed.

If a core is closed, we can't replicate it.

This can happen if you leave a project while offline, then reconnect. I added a test for this case and fixed the issue. (The fix is just one line, but it took a whole day to figure that out.)

Fixes #584.