mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 18:32:20 +08:00
9181914453
Summary: Previously, it was possible for the sync worker to continue running after being interrupted, e.g. it would break out of `performSync` and then try to run `onSyncCompleted`. This is fine if we were just interrupting to restart the loop, but when we stop it we don't want it to continue running anything at all. This also refactors the syncworker to have a single `destroy` method, which sets a `destroyed` flag and uses that one exclusively instead of the `stopped` flag. Test Plan: manually check it works Reviewers: spang, halla, mark, evan Reviewed By: mark, evan Differential Revision: https://phab.nylas.com/D4307 |
||
---|---|---|
.. | ||
client-app | ||
client-sync | ||
isomorphic-core | ||
README.md |
Monorepo Packages
Each folder here is designed to act as its own repository. For development convenience, they are all included here in one monorepo. This allows us to grep across multiple codebases, not use submodules, and keep a unified commit history.
We use Lerna to manage the monorepo and tie
them all together with the main nylas-mail-all/scripts/postinstall.es6
script,
which in turn, calls lerna bootstrap