Mailspring/spec
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
..
components
fixtures
models
stores fix(databse): fix memory leak on DatabaseStore.atomically 2015-10-22 14:19:39 -07:00
tasks fix(tasks): SyncbackCategory does not need organizationUnit 2015-10-21 11:07:08 -07:00
action-bridge-spec.coffee
atom-reporter.coffee
atom-spec.coffee fix(auth): Resize the auth window after an update to the token status 2015-10-06 17:58:07 -07:00
auto-update-manager-spec.coffee fix(updater): Send UUID and email accounts to enable more specific update distribution 2015-10-03 14:45:39 -07:00
buffered-process-spec.coffee
clipboard-spec.coffee
component-registry-spec.coffee
database-object-registry-spec.coffee
database-view-spec.coffee feat(trash): Trash for Gmail, and architectural changes for common tasks 2015-10-21 10:38:00 -07:00
dom-utils-spec.coffee
jasmine-helper.coffee refactor(dir): move exports to src/global and consolidate tests 2015-10-02 09:19:37 -07:00
jasmine-jquery.js refactor(dir): move exports to src/global and consolidate tests 2015-10-02 09:19:37 -07:00
jasmine.js refactor(dir): move exports to src/global and consolidate tests 2015-10-02 09:19:37 -07:00
launch-services-spec.coffee
menu-manager-spec.coffee
model-view-selection-spec.coffee
model-view-spec.coffee
module-cache-spec.coffee
nylas-api-spec.coffee fix(sync): Request all labels / folders to avoid paging and missing inbox 2015-10-03 23:53:59 -07:00
nylas-protocol-handler-spec.coffee
package-manager-spec.coffee
package-spec.coffee
quoted-html-parser-spec.coffee
quoted-plain-text-parser-spec.coffee
spec-bootstrap.coffee
spec-helper-platform.coffee
spec-helper.coffee fix(specs): Unbreak tests for CategoryPicker 2015-10-21 10:57:42 -07:00
spec-suite.coffee
style-manager-spec.coffee
styles-element-spec.coffee
test_utils.coffee
theme-manager-spec.coffee fix(specs): Fix intermittent async error and max event listener leak 2015-10-09 15:42:37 -07:00
time-reporter.coffee
undo-manager-spec.coffee
utils-spec.coffee