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

derbyjs / racer / 897
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 14s
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
897

push

travis-ci

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

776 of 1275 branches covered (60.86%)

Branch coverage included in aggregate %.

2291 of 3176 relevant lines covered (72.13%)

186.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 897.1 25 Mar 2020 08:04PM UTC 0
68.91
Travis Job 897.1
2 897.2 25 Mar 2020 08:04PM UTC 0
68.91
Travis Job 897.2
3 897.3 25 Mar 2020 08:04PM UTC 0
68.91
Travis Job 897.3
Source Files on build 897
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #897
  • c14610a2 on github
  • Prev Build on fix-maybeUnloadDoc (#895)
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