Mailspring/packages/client-app/internal_packages/sync-health-checker
Juan Tejada d1b81b6afe [client-app] Prevent from making any requests when NylasID isn't present
Summary:
Sometimes, when logging out of your NylasID and restarting the app, we
would continue making some requests from the worker window that required a
NylasID. This would make the app enter a restart loop and become
completely unresponsive because when we made a request without a
NylasID, we would force the user to log out and restart the app, and
then we would again make the requests without the id, ad infinitum.

To fix this, we make sure we have a NylasID before making any requests
that require it

Test Plan: manual

Reviewers: halla, evan

Reviewed By: halla, evan

Differential Revision: https://phab.nylas.com/D4344
2017-04-04 16:26:32 -07:00
..
lib [client-app] Prevent from making any requests when NylasID isn't present 2017-04-04 16:26:32 -07:00
spec [client-app, client-sync] Add specs for detecting stuck sync/worker window 2017-03-27 15:45:33 -07:00
package.json