• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

derbyjs / racer / 898
69%
master: 74%

Build:
Build:
LAST BUILD BRANCH: eventContext-jsdoc-types
DEFAULT BRANCH: master
Ran 25 Mar 2020 08:04PM UTC
Jobs 3
Files 28
Run time 58s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
898

Pull #279

travis-ci

web-flow
Fix deferred unload (see a320772a) when unfetching then synchronously subscribing

When a doc gets unfetched, #276 adds a Share Doc whenNothingPending listener to unload the doc later, instead of doing nothing, which was the cause of a memory leak introduced in #266.

However, Racer keeps reference counts itself for fetches and subscriptions, so an immediate subscribe on the same Racer doc does not affect the Share doc at all, which means the doc would still get unloaded, erroneously.

This fix instead retries the Racer _maybeUnloadDoc in that scenario, instead of doing an immediate unload. That guards against Racer getting new doc references while the Share Doc whenNotingPending is in progress.
Pull Request #279: Fix deferred unload (see a320772a) when unfetching then synchronously subscribing

776 of 1275 branches covered (60.86%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

2291 of 3176 relevant lines covered (72.13%)

186.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 898.1 25 Mar 2020 08:04PM UTC 0
68.91
Travis Job 898.1
2 898.2 25 Mar 2020 08:04PM UTC 0
68.91
Travis Job 898.2
3 898.3 25 Mar 2020 08:05PM UTC 0
68.91
Travis Job 898.3
Source Files on build 898
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #898
  • Pull Request #279
  • PR Base - master (#893)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc