Mailspring/spec/stores
Evan Morikawa ef8e7aaf51 fix(databse): fix memory leak on DatabaseStore.atomically
Summary:
The Promise chain we were creating was never cleared and created a memory
leak. We instead use a `PromiseQueue` to cleanup finished promises.

Also added several more tests and verified that the memory leak is gone
with the Chrome profiler

Test Plan: new tests

Reviewers: bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D2184
2015-10-22 14:19:39 -07:00
..
account-store-spec.coffee fix(specs): Clean up spec failures due to hot fixes prior to launch 2015-10-05 16:45:30 -07:00
contact-store-spec.coffee fix(spec): fix contact store spec 2015-10-22 14:13:51 -07:00
database-setup-query-builder-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00
database-store-spec.coffee fix(databse): fix memory leak on DatabaseStore.atomically 2015-10-22 14:19:39 -07:00
draft-store-proxy-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00
draft-store-spec.coffee fix(tasks): don't continue if dependent task fails 2015-10-21 10:33:43 -07:00
file-download-store-spec.coffee fix(attachments): When downloads fail, don't resolve to chained actions 2015-10-05 17:57:24 -07:00
file-upload-store-spec.coffee fix(uploads): Display error when uploading >25MB files 2015-10-21 12:29:07 -07:00
focused-contacts-store-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00
focused-content-store-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00
focused-mail-view-store-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00
message-store-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00
task-queue-spec.coffee fix(tasks): don't continue if dependent task fails 2015-10-21 10:33:43 -07:00
unread-count-store-spec.coffee refactor(spec) move spec-nylas to spec 2015-10-01 21:39:44 -07:00