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

derbyjs / racer / 898 / 2
69%
master: 74%

Build:
Build:
LAST BUILD BRANCH: eventContext-jsdoc-types
DEFAULT BRANCH: master
Ran 25 Mar 2020 08:04PM UTC
Files 28
Run time 4s
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

25 Mar 2020 08:03PM UTC coverage: 68.906% (+0.1%) from 68.794%
898.2

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 %.

2291 of 3176 relevant lines covered (72.13%)

62.32 hits per line

Source Files on job 898.2
  • Tree
  • List 0
  • Changed 22
  • Source Changed 1
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 71
  • Travis Job 898.2
  • 5a4c4f0d on github
  • Prev Job for on fix-maybeUnloadDoc (#893.1)
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