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

share / sharedb-mongo
91%
master: 93%

Build:
Build:
LAST BUILD BRANCH: mongo-8
DEFAULT BRANCH: master
Repo Added 10 Mar 2016 07:44AM UTC
Files 5
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

LAST BUILD ON BRANCH close-early-return
branch: close-early-return
CHANGE BRANCH
x
Reset
  • close-early-return
  • add-linting
  • add-mongo-3.4
  • async-2
  • db-method-options
  • fix-extra-or-type
  • fix-getCommittedOpVersion
  • fix-map-reduce-test-order
  • ignore-package-lock
  • master
  • mongo-3-aggregate
  • mongo-8
  • mongodb-3
  • more-coverage
  • new-mongo
  • ot-json1
  • pr/64
  • remove-mingo-tests
  • silence-logger
  • test-instructions
  • v1.0.0-beta
  • v1.0.0-beta.1
  • v1.0.0-beta.10
  • v1.0.0-beta.11
  • v1.0.0-beta.12
  • v1.0.0-beta.13
  • v1.0.0-beta.14
  • v1.0.0-beta.15
  • v1.0.0-beta.2
  • v1.0.0-beta.3
  • v1.0.0-beta.4
  • v1.0.0-beta.5
  • v1.0.0-beta.6
  • v1.0.0-beta.7
  • v1.0.0-beta.8
  • v1.0.0-beta.9

pending completion
377

Pull #100

travis-ci

Alec Gibson
Early return `close()` if already closed

It can be surprising to call `db.close()` multiple times and get an
error because we've already closed.

This change swallows the already closed error if caught in `db.close()`.

Note that a test will be added for this upstream in `sharedb`:
https://github.com/share/sharedb/pull/412
Pull Request #100: Early return `close()` if already closed

400 of 484 branches covered (82.64%)

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

674 of 740 relevant lines covered (91.08%)

959.74 hits per line

Relevant lines Covered
Build:
Build:
740 RELEVANT LINES 674 COVERED LINES
959.74 HITS PER LINE
Source Files on close-early-return
  • List 2
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
377 close-early-return Early return `close()` if already closed It can be surprising to call `db.close()` multiple times and get an error because we've already closed. This change swallows the already closed error if caught in `db.close()`. Note that a test will be a... Pull #100 02 Dec 2020 04:28PM UTC Alec Gibson travis-ci pending completion  
376 close-early-return Early return `close()` if already closed It can be surprising to call `db.close()` multiple times and get an error because we've already closed. This change swallows the already closed error if caught in `db.close()`. Note that a test will be a... push 02 Dec 2020 01:14PM UTC Alec Gibson travis-ci pending completion  
See All Builds (341)
  • Repo on GitHub
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

© 2025 Coveralls, Inc