Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-728

`this.s.topology.unref is not a function` when calling `db.unref()`

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.2.0
    • Affects Version/s: 2.1.21
    • Component/s: None
    • Labels:
    • Environment:
      node -v
      v5.11.1

      ```
      /opt/ig-test/services/node_modules/mongodb/lib/mongo_client.js:388
      throw err
      ^

      TypeError: this.s.topology.unref is not a function
      at [object Object].Db.unref (/opt/ig-test/services/node_modules/mongodb/lib/db.js:1771:19)
      at /opt/ig-test/services/node_modules/ig-mongo/index.js:45:8
      at /opt/ig-test/services/node_modules/mongodb/lib/mongo_client.js:385:15
      at _combinedTickCallback (node.js:376:9)
      at process._tickDomainCallback (node.js:431:11)
      ```

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            tellnes Christian Tellnes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: