gett/mongojs — Issue #15: Node does not terminate
Author: ukslim
Created: 2012-03-02 15:19:35+00:00
State: open

var databaseUrl="mydb";
var collections = ["mycollection"];
var db = require("mongojs").connect(databaseUrl, collections);

... connects to mongod, then hangs until CTRL+C

With a find() query, the query executes correctly, but again node does not terminate.

I tried with node on Cygwin, then with the official Windows .MSI version.

mongojs@0.3.2
mongodb@0.9.9-4
node v0.6.11